Skip to content

Support redirect to the original page with OpenID connect #11308

@offtherailz

Description

@offtherailz

Description

Now, when using OpenID connect, the user is always redirected to the home page. This is because the hash redirect url (e.g. #/viewer/123) is not supported by several backend services, and in any case the redurect URL is managed by the backend, that is not able to read it.
With this, we want to support it via JavaScript, saving and restoring it in sessionStorage.
This functionality can be used also by alternative login services implemented by project (e.g. spid, when present), by storing the same variable in the sessionStorage.

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions