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 | |
---|---|---|---|---|
In React, how do you find a user's access token? | 3 | 4853 | July 26, 2019 | |
Help in making auth tokens to access API. | 3 | 3968 | March 2, 2018 | |
How to get Auth0 token from outside React components in this specific case? | 2 | 3640 | February 3, 2022 | |
Access token + nextjs + react native | 3 | 2141 | March 27, 2023 | |
How do I get the authO token from my react front end with apollo client to my express graphql backend | 2 | 3533 | February 13, 2019 |