Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct links redirection after SAML authentication #8155

Closed
rchincholkar opened this issue Sep 16, 2020 · 4 comments
Closed

Direct links redirection after SAML authentication #8155

rchincholkar opened this issue Sep 16, 2020 · 4 comments

Comments

@rchincholkar
Copy link

ISSUE TYPE
  • Feature Idea
SUMMARY

If we access a direct link, when not logged in, for example - https://<tower-hostname>/#/templates/job_template/10

For a basic auth, After logging in, we get redirected to the job template page.

However for SAML authentication, tower takes us to the https://<tower-hostname>/#/login and after saml authentication succeeds, it redirects to https://<tower-host>/#/home and does not redirect to the link (https://<tower-hostname>/#/templates/job_template/10).

Is it possible to set the redirection after SAML auth as it is for basic auth?

@unlikelyzero
Copy link

@one-t @tiagodread can we retest this with the okta setup?

@kdelee
Copy link
Member

kdelee commented Jan 26, 2021

@unlikelyzero @ryanpetrello I'm confused why this is in needs_test, are we wanting to confirm if this IS a bug, or has some change been made?

@unlikelyzero
Copy link

@kdelee @ryanpetrello removing needs_test

@tiagodread
Copy link
Contributor

tiagodread commented Jun 2, 2021

This is being added by #9908, now working with SAML or username/password

01-2021-06-02_17.51.39.mp4

softwarefactory-project-zuul bot added a commit that referenced this issue Jun 2, 2021
Add Session context and redirects

SUMMARY
Issues:
#8272 #9197 #8155 #9311

When user is logged out due to inactivity, redirect to the Login Page with a warning alert stating that their session expired.
When a user logs in on one tab, redirect from login page to home on the other tabs.
Clear session state when it expires and/or when a user logs out.
Redirect users to direct link destination after authentication

@AlexSCorey is looking at possibly rolling #9915 (SSO login redirect override URL is not working) into this PR
ISSUE TYPE


Feature Pull Request

COMPONENT NAME


UI

Reviewed-by: Kersom <None>
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
Reviewed-by: Keith Grant <keithjgrant@gmail.com>
Reviewed-by: Alex Corey <Alex.swansboro@gmail.com>
Reviewed-by: Marliana Lara <marliana.lara@gmail.com>
Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants