You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build an auth system with Django + Next.js + Google.
I've read this thread, and also read the medium article written by the author of the thread, but still didn't get to read a protected record from the Django database. I am able to get a token from Google. I'm stuck however in the stage that's between Next and Django.
Here are my questions:
Is the attached diagram the right flow of the information? am I looking at it the right way?
What exactly does the jwt callback meant to do? Which function is meant to activate it?
Which party is actually in charge of creating the JWT? if we're using the Django package Simple JWT as recommended by the author, which creates JWT, and allows to authenticate views with it, than how do you provoke it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to build an auth system with Django + Next.js + Google.
I've read this thread, and also read the medium article written by the author of the thread, but still didn't get to read a protected record from the Django database. I am able to get a token from Google. I'm stuck however in the stage that's between Next and Django.
Here are my questions:
Beta Was this translation helpful? Give feedback.
All reactions