Created
March 15, 2018 06:27
-
-
Save mbalex99/3df2e6b886551404866236e90ef973ee to your computer and use it in GitHub Desktop.
Nickname Auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { | |
"provider": "nickname", | |
"providerToken": "god", | |
"userInfo": { | |
"is_admin": true | |
} | |
}; | |
const user = await Realm.Sync.User.registerWithProvider(`https://INSTANCE_ADDRESS`, options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment