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

fix: do not show renkulab down when the users auth token has expired #1788

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

ciyer
Copy link
Contributor

@ciyer ciyer commented Apr 12, 2022

Description

The fact that the server response was caused by an expired token was getting lost, so it was not possible to handle the error correctly at higher levels. This has been fixed.

Testing: Log into the Keycloak admin console and set the SSO Session Idle and Client Session Idle values to something very short (like 1 min). This will provoke more frequent auth token expirations, and you will be redirected to login, but you should not see the "RenklabDown" warning.

image

Fix #1759

/deploy renku=auto-update/renku-core-1.2.1 #persist

@ciyer ciyer requested a review from a team as a code owner April 12, 2022 10:33
@ciyer ciyer temporarily deployed to renku-ci-ui-1788 April 12, 2022 10:33 Inactive
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-1788.dev.renku.ch

Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix works well! 👍

@ciyer ciyer deployed to renku-ci-ui-1788 April 12, 2022 12:02 Active
@ciyer ciyer merged commit 7c73834 into master Apr 12, 2022
@ciyer ciyer deleted the 1759-auth-renku-down branch April 12, 2022 12:30
@RenkuBot
Copy link
Contributor

Tearing down the temporary RenkuLab deplyoment for this PR.

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.

Renku down page when user is not authenticated
4 participants