-
Question 💬Hi, I am trying to log in and get an id_token. My config is as follows:
I already reviewed #393 and if I understand correctly, I should be able to access the idToken in the jwt callback as described in #837. In the documentation I also read that I can override the options of the provider, so I added idToken: true. If I don't override tokenId to true, I am able to log in, but I have no access to the idToken. After overriding idTioken to true, I get following error:
How to reproduce ☕️Override tokenId to true in the Google provide options:
Contributing 🙌🏽Yes, I am willing to help answer this question in a PR |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can grab |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, but I'm using Azure Provider, and it seems like the account props into jwt is undefined, but in the signIn i can see my id_token |
Beta Was this translation helpful? Give feedback.
You can grab
id_token
fromaccount
in the jwt callback throughaccount.id_token