I am configuring auth0 to be used with React. I was able to follow this guide and get it working:
However I am not able to figure out how I get the access code. I would like to take that and store it in my database along with other information from the user/ personal information as well as store it in a redux store for use with my backend database to link the user to the data.
When a user logs in, Auth0 returns three items:
access_token,
id_token,
expires_in
You can use these items in your application to set up and manage authentication.
Would appreciate any pointers with how to get the access and id tokens using the hooks format shown above.