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

Prevent GraphQL errors caused by expired session #41

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Prevent GraphQL errors caused by expired session #41

merged 1 commit into from
Mar 28, 2024

Conversation

joonashak
Copy link
Collaborator

This change attempts to prevent situations where the user has left Keijo idling until their IDP session expires and then triggers a GraphQL operation that would fail. The whole application will now be reloaded upon detecting an expired session (HTTP status code 302 in response to a GraphQL operation), triggering the initialization of a new IDP session.

@joonashak joonashak merged commit 8706ee0 into main Mar 28, 2024
4 checks passed
@joonashak joonashak deleted the trunk branch March 28, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant