Using auth0, react and nextJS, my problem is how can I get the accessToken coming from the user login via auth0, being this token necessary to be able to use it and send it through the authentication header of all the requests I make to my local api of my own application. For this, I deduce that I need to manipulate the access token from the client side to be able to set it manually within each HTTP request to my local api, but I don’t know how to get to this point.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Generating Access Token | 4 | 3249 | September 16, 2022 | |
AccessToken Different from that required by the backend | 0 | 290 | April 11, 2024 | |
Auth0 NextJS get AccessToken without SSR | 1 | 19 | November 4, 2024 | |
Next js auth0 unabled to access Auth0 Management API using access token to fetch user data | 1 | 4390 | January 11, 2022 | |
NextJS, Flask backend (nextjs-auth0 library) | 1 | 2324 | September 19, 2022 |