Replies: 1 comment
-
|
Hi @fanpero87. The backend replying with a 401 means that you need to log in again, either because it is the first time you opened ignition in a new browser or because your previous session expired due to inactivity. The frontend is able to detect when the backend replies with a 401 and automatically:
Although the browser is showing an error just like in your print, there's nothing to worry about. It's just the standardized way of the server telling the browser that it needs to show you the login form. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I just set it up using Docker. I noticed that if I inspect the Login page, I get
Failed to load resource: the server responded with a status of 401 (Unauthorized)for two endpoints::8090/api/users/currentand:8090/api/frontend/configurationOn both cases, I get this on the browser: "{"message":"Invalid access token"}"
Im running the container using a
docker-compose.ymlfile that looks like thisI havent done any configuration or anything. I just run the docker compose file and created an account on the browser. Havent make any changes or modifications.
Im not sure if I should be doing something differently to avoid that error.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions