Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: redirect to login with clear message on OIDC session expiry#18209

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
krikera wants to merge1 commit intocoder:main
base:main
Choose a base branch
Loading
fromkrikera:fix-redirect-to-login-page

Conversation

krikera
Copy link

Description

This PR fixes issue#18201 by implementing proper handling of OIDC session expiry:

  • AddedisOIDCSessionExpired function to detect OIDC session expiry cases
  • Added automatic redirect to login page when OIDC session expires
  • Created newLoginMessage component to support HTML-formatted messages
  • Added clear error message with documentation link to help users understand and resolve the issue

Changes

  • site/src/api/errors.ts: Added OIDC session expiry detection
  • site/src/contexts/auth/AuthProvider.tsx: Added redirect handling
  • site/src/pages/LoginPage/LoginPageView.tsx: Updated to use new message component
  • site/src/pages/LoginPage/LoginMessage.tsx: New component for HTML message support

@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelJun 3, 2025
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 3, 2025
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@krikera
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

cdrci2 added a commit to coder/cla that referenced this pull requestJun 3, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@krikerakrikera

Labels
communityPull Requests and issues created by the community.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@krikera

[8]ページ先頭

©2009-2025 Movatter.jp