mhergon mhergon - 6 months ago 71
Swift Question

Create users from client on Realm Mobile Platform

Is there anyway to create/register user with new product Realm Mobile Platform from



The following code example is in the official docs, but I haven't tested it:

let usernameCredential = Credential.usernamePassword(username: "username", password: "password", actions: [.createAccount])

the actions: [.createAccount] indicates that yes, you can create a user from an app, if that is what you meant.