You need to sign in to do that
Don't have an account?
Sivapriya Rajeshwer
Auth.Authtoken.getAccessToken null issue
We have configured an auth provider using open id connect and created registration handler to create and update user. I have a requirement to get the ID Token as well. so I tried to use String token = Auth.AuthToken.getAccessToken(authproviderId, 'Open ID connect') where authproviderId is the ID of the provider that I configured. This token value always returns null. Can anyone help me with this issue? Appreciate your response. Thanks!
Simple Answer is: Open Authentication Provider, open on the OAuth-Only Initialization URL, login. Now you get the Accesstoken!