Skip to content

Feat/new auth workflow#248

Open
diocas wants to merge 4 commits into
cernboxfrom
feat/new_auth_workflow
Open

Feat/new auth workflow#248
diocas wants to merge 4 commits into
cernboxfrom
feat/new_auth_workflow

Conversation

@diocas
Copy link
Copy Markdown

@diocas diocas commented May 18, 2026

Attempt to change the auth workflow so that users are no longer redirected from the current page, they see a modal box saying that they are disconnected.

This is to ensure we stop losing any context due to redirections.

When disconnected, users are able to re-login via a pop-up. This should unblock all open tabs.

Its worked started on the first iteration from Rodrigo to bring pop-up auth for when web gets embedded (future implementation of the file picker).

rodcoffani and others added 4 commits May 18, 2026 11:42
Do not redirect on failure to renew session, instead show a modal.
Allow login via pop-up.
Fix flow also for embed mode.
- handleAuthError now checks userContextReady before deciding between
  the session expired modal (mid-session failure) and the access denied
  page (startup/login failure). Cleans up the anonymous-route fall-through
  that was triggering the modal during initial load or callback processing.

- accessDenied page shows "Error signing in" with an appropriate hint
  when reached via reason=loginError (startup failures); retains the
  existing "Not logged in" copy for session-expiry navigations.

- SessionExpiredModal redirects to home after a successful reconnect
  if the current route is a transient auth page (login, oidcCallback, etc.)

- Logo on accessDenied, oidcCallback and SessionExpiredModal is wrapped
  in a router-link to home.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants