Authorization in Next with Go / golang #23242
Unanswered
AdrianZajkowski
asked this question in
Help
Replies: 2 comments 4 replies
-
|
Hi, you can authorize a user as you wish with any backend. Your frontend code can make requests for auth right into golang backend and it will set cookie or return token (depends on your auth strategy). |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
@akellbl4 So I must send req to BE to check if user is auth when I make any navigation?? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am new in Next, and I want to ask if someone already covered topic of authorization by backend in non js language. I did not find any information about it in documention or in examples. I am little confused about /pages/api thing. Should I communicate with my backend from there?
Beta Was this translation helpful? Give feedback.
All reactions