Open gaaaku opened 1 year ago
The following fixes solved the problem. Would you like to include these fixes in this repository?
Auth0Provider
in file auth0-provider-with-navigate.js
message.service.js
. The header contains the access token obtained from Auth0.
What happened?
Assumption, I am running spa_react_javascript_hello-world and api_spring_java_hello-world in a local environment.
The situation is as follows.
What did you expect to happen?
I expect the message will display correctly (Correct message is "This is an admin message.") in the Admin tab.
Anything else we need to know?
When I successfully authenticated Auth0 with another of my own apps, I stored the token information in the header.
I guess it may be necessary to retrieve the token and store it in the header in a React app like this.