-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot fetch ID token in the response #15
Comments
Hi @savaliyap! Could you please give some more context? Like, are you getting an error message, if so: what message do you get? What are you trying to achieve, and how are you invoking the plugin? |
Hello @bartwesselink , yeah so my config is like this
and I use it like this
and in response I only get accessToken and scopes (idToken is not present at all) |
Mm, that is strange. What platform are you using? |
I am using ionic 6 and the emulator I am testing on have Android 11 as OS |
Are you using an older version of the plugin? The ID token is available from version 3.0 onwards. |
@savaliyap so I dove into this, and there is one possible reason that could cause this. In the tenant that you are logging into, are you a guest there? Because in the current implementation, the plugin does not support retrieving an ID-token in that case. |
Having the same issue. I get null for the idToken response while debugging with Android. iOS works fine. |
my config is like this
and I use it like this
and in response I only get accessToken and scopes (idToken is not present at all)
The text was updated successfully, but these errors were encountered: