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

Add missing env variables for configuring OIDC Authservice redirects #138

Closed
Tracked by #608
DnPlas opened this issue Feb 26, 2024 · 2 comments · Fixed by #137
Closed
Tracked by #608

Add missing env variables for configuring OIDC Authservice redirects #138

DnPlas opened this issue Feb 26, 2024 · 2 comments · Fixed by #137
Labels
enhancement New feature or request

Comments

@DnPlas
Copy link
Contributor

DnPlas commented Feb 26, 2024

Context

The charmed oidc-gatekeeper is missing some env variables that configure the redirection behaviour under certain circumstances along the authentication flow:

  • OIDC_AUTH_URL: is used as the URL tht Authservice will hit for initiating the auth flow
  • AFTER_LOGIN_URL: is used for redirecting after login.
  • AFTER_LOGOUT_URL: is used for redirecting after logout.

These variables are required because the default behaviour of OIDC Authservice is to redirect to URLs that can be undesired, by setting them up, we have a deterministic way of setting where users should be redirected.

What needs to get done

Add the missing env variables to correctly set up the redirect behaviour of OIDC Authservice.

Definition of Done

Variables are present and the redirections occur as expected.

@DnPlas DnPlas added the enhancement New feature or request label Feb 26, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5389.

This message was autogenerated

@DnPlas
Copy link
Contributor Author

DnPlas commented Feb 26, 2024

Fixed by #137 and #136

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

Successfully merging a pull request may close this issue.

1 participant