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: force logout after token expiry retry (backport) #11620

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Sep 20, 2024

Description

This restores some of the behavior we had before #10881.

It is a partial backport of #11584.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Sep 20, 2024
@@ -62,7 +62,7 @@ export default defineComponent({
} catch (e) {
console.error(e)
if (e.response?.status === 401) {
return authService.handleAuthError(unref(route))
return authService.handleAuthError(unref(route), { forceLogout: true })
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change here is not on master. I'm not sure if we should add it, but it might be the solution to the webfinger issues. AFAICT this now should behave like it was pre v8.0.2.

@JammingBen JammingBen changed the title fix: force logout after token expiry retry fix: force logout after token expiry retry (backport) Sep 20, 2024
@JammingBen JammingBen force-pushed the fix/idp-logout-issues branch from 97b44e7 to cdaa06b Compare September 20, 2024 12:48
dev/docker/apps/jupyter/config.json.dist Outdated Show resolved Hide resolved
dev/docker/apps/jupyter/manifest.json Outdated Show resolved Hide resolved
@JammingBen JammingBen force-pushed the fix/idp-logout-issues branch from cdaa06b to bbc0045 Compare September 23, 2024 06:34
Copy link

@JammingBen JammingBen merged commit 5684e75 into stable-8.0 Sep 23, 2024
3 checks passed
@JammingBen JammingBen deleted the fix/idp-logout-issues branch September 23, 2024 08:20
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.

3 participants