How can i get access protected session api by python #12747
Unanswered
AgileQuant
asked this question in
Help
Replies: 0 comments
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.
-
i am using next.js 14, and nextauth v5. TO login through Credentials is fine.
while , My needs is that I create protected resources api ( ./app/api/admin/route.ts) by next.js framework.
Well, for other web, i want to access same data by (api/admin/) api which wrote by next.js. While, how can i get through auth function by other app2 ? I do not know to login and get session-token by python and get access (api/admin/) api successfully.
if you can write example to get access auth function by python, it will be great.
Beta Was this translation helpful? Give feedback.
All reactions