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

Keycloak auth flow improvements #196

Open
3 tasks
Lordfirespeed opened this issue Nov 4, 2024 · 0 comments
Open
3 tasks

Keycloak auth flow improvements #196

Lordfirespeed opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Lordfirespeed
Copy link
Member

  • Allow destination to be specified via query parameters to /auth/keycloak/login
    • this should be validated against a list of permitted values, and a missing value should not be permitted
    • allowed values e.g. [`{frontendOrigin}/dashboard`, `{frontendOrigin}/sponsor`, `{frontendOrigin}/volunteer`, `{frontendOrigin}/organiser`]
    • the value should be saved in the user session once validated, and the request processed as usual otherwise
  • Read destination from the user session, redirect to it in /auth/keycloak/callback
  • Handle error in /auth/keycloak/callback (Keycloak OAuth flow callback endpoint does not handle error query parameter #167)
@Lordfirespeed Lordfirespeed added the enhancement New feature or request label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant