-
Notifications
You must be signed in to change notification settings - Fork 84
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
Login while on logout page displays misleading message #295
Comments
Can you please provide more details ?
The logout of the user is handled by Jenkins itself, I ll check what how we can end up in this situation (sessions were changed recently so it may be a side effect) |
I think I understand. When you login in the third step it redirects you to the logout landing page because it is the page you login from. It is the expected behavior but indeed a bit misleading :D I ll make a fix in the redirect to redirect to the root url if the redirect url is the logout landing page. |
@tuxmaster5000 Can you confirm that if you go to another page before logging back, you don t have this message ? |
@michael-doubez , I click on logout, then the first picture will shown, and I have the Login button again. |
When you login, the plugin redirects you to the page you started from. So when you login from the logout page it displays it but the page logic expects you to be logged out. That s why you have this message. I ll change the login logic to redirect to root url in this specific case. |
Thanks. |
You mean the token was not revoked ? If that is what your are talking about, you should configure
|
It shows up when you click on "Manual configuration" ... Click on manual, activate it and switch back to "Automatic configuration", it will be kept. |
Ah yes. That's because you requested the refresh token which is not handled at this point. The reason it is requested is because the wellknown configuration requests all available scopes, including You can fix that by overriding the scopes to specify only what you need: tick the "override Scopes" box in config and remove |
Hi @michael-doubez yes this will fix it. |
Actions:
|
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Rock 9.3
Reproduction steps
Expected Results
That after logging out the token on the IDP will be removed and all session data
Actual Results
The user will be still logged in.
Anything else?
Picture after step 2:
Picture after step 3:
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: