NextAuth Login Flow Diagram #4736
Unanswered
BetweenTwoTests
asked this question in
Help
Replies: 1 comment
-
Thanks for doing this. For what it's worth, I've wasted DAYS trying to understand this. It's painfully complex and HORRIBLY documented. It gets 10x worse if you try to implement your own versions of the main pages. The changes in NextAuth 5 make it ever more confusing especially in edge environments. From what I can tell callbackUrl is depricated in V5 and they use RedirectTo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to document the login flow for NextAuth. As far as I understand it, the following diagram is roughly how it the flow goes. I'm looking for feedback from other NextAuth users to see if my understanding is correct.
Link: https://1drv.ms/u/s!ApO_Ig_VxP_pfAiZuQa9_lumyKQ?e=4rILn4
Also, if you have suggestions for tools to draw similar diagram, I am open to suggestions. I just used VIsio because that's what was available to me.
Beta Was this translation helpful? Give feedback.
All reactions