home-page always loads login-screen first
[EPIC] Collection of minor improvements for a s... (dashboard#103)
Parent:home-page always loads login-screen first
The "Du bist noch nicht angemeldet [Anmelden]" page briefly appears when reloading the home page (even) after logging in. There could be timing issues in the code.
Steps to Reproduce
- Login to AURA Dashboard.
- Stay at the /home page.
- Reload the home page.
Expected Result
The home page should remain in the authenticated state without any visible "please log in" page and Users should not experience any interruptions in their logged-in session.
Actual Result
Upon reloading the home page, a "please log in" page briefly appears for approximately half a second.
In the network console, the message "Initializing oidc client" and "Tank session token" are displayed during the brief "please log in" page appearance. After loading the "Tank session token," the "please log in" page disappears, and the home page displays as expected.
Logs & configuration
In the network console it says:
Initializing oidc client main-8bfceee3.js:103:3584
Tank session token: <tank_session_token> main-8bfceee3.js:103:3250
I've censored our session token via <tank_session_token>
.
Environment
Tested on alpha2 after upgrading from alpha1 on an otherwise new server.
I tested in on Firefox (Debian GNU/Linux 11 and 12).