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: prevent redirects to /undefined after saml auth #669

Commits on Aug 9, 2024

  1. fix: prevent redirects to /undefined after saml auth

    When a user authenticates using SAML, but their accounts
    aren't linked, they land on the login page with the
    message to link their accounts. If the
    OC_REDIRECT_ON_TPA_UNLINKED_ACCOUNT value is not setup,
    they end up getting redirected to /undefined. This commit
    validates the redirectURL as a valid string before
    performing the redirect.
    
    Internal-ref: https://tasks.opencraft.com/browse/BB-9010
    tecoholic committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    d9d761a View commit details
    Browse the repository at this point in the history