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 | |
---|---|---|---|---|
Access token + nextjs + react native | 3 | 2138 | March 27, 2023 | |
How to get Auth0 token from outside React components in this specific case? | 2 | 3608 | February 3, 2022 | |
React native token for api | 2 | 1431 | January 6, 2023 | |
In React, how do you find a user's access token? | 3 | 4852 | July 26, 2019 | |
getAccessToken() returns encrypted token | 5 | 6000 | November 25, 2021 |