Azure - AD - id_token not present in TokenSet #3624
-
Having some issues getting Azure-Ad provider working. I have followed every step at https://next-auth.js.org/providers/azure-ad. It loads the login screen and allows me to log in, but then I receive a callback_oauth_error with the message "it_token not present in TokenSet". I don't see that explained at all in the instructions, so hoping someone here has come across that and has some ideas? Happy to provide any information you need! I am sure I am just missing something. Thanks
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Following. I've got the same issue since a few days actually. Last week it did work fine. I've created an issue since I'm experiencing this also on a clean example: #3627 |
Beta Was this translation helpful? Give feedback.
-
Might be a problem with next-auth version 4.1.0 Version 4.0.6 works with Azure AD |
Beta Was this translation helpful? Give feedback.
-
Thank you @Fremmedkar. Can confirm that downgrading to 4.0.6 exactly allows me to use Azure to login! Glad to know I was doing everything right. @Rodeveer, I will comment on that ticket too. I had assumed it was an issue with me and not a bug. Thank you!! |
Beta Was this translation helpful? Give feedback.
Might be a problem with next-auth version 4.1.0
Version 4.0.6 works with Azure AD