Setting up OAuth parameters
stateRequested = BigInteger(130, SecureRandom()).toString(32)
TcSdk.getInstance().setOAuthState(stateRequested)TcSdk.getInstance().setOAuthScopes(arrayOf("profile", "phone", ...))
// Currently available list of scopes :
- profile
- phone
- openid
- offline_access
- email
- address
Note :
Please include the relevant scopes for your project.
Make sure the scopes you’re requesting above are selected on the portal for your projectLast updated
Was this helpful?