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 | |
---|---|---|---|---|
How to get access token in additional API Service? | 4 | 2587 | January 10, 2022 | |
How to pass access token to Auth0Provider in auth0-react sdk | 0 | 1860 | May 18, 2022 | |
React native token for api | 2 | 1417 | January 6, 2023 | |
Access token + nextjs + react native | 3 | 2107 | March 27, 2023 | |
NextJS + .NET Backend Auth0 Issues | 1 | 1325 | February 24, 2023 |