这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4277
closes #4283

What is in this change?

  • Allow user to set SIMPLE_SSO_NO_LOGIN_REDIRECT which will redirect users to a defined URL, typically a login page for SIMPLE_SSO to provision a token.
  • This allows the user to not be stuck on the AnythingLLM instance homepage with an "Invalid token" error.
  • This does not impact the error rendering pages and will only fire when visting the / URL while unauthenticated.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat merged commit cd063af into master Sep 17, 2025
@timothycarambat timothycarambat deleted the 4277-sso-redirect-url branch September 17, 2025 19:51
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.

[FEAT]: Ability to set a redirect URL when SIMPLE_SSO_NO_LOGIN is enabled

2 participants