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

feat: add OIDC_AUTH_URL and AFTER_LOGIN_URL env variables #136

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

DnPlas
Copy link
Contributor

@DnPlas DnPlas commented Feb 23, 2024

These variables are required by the OIDC Authservice to correctly redirect users 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.

Part of canonical/bundle-kubeflow#608

@DnPlas DnPlas requested a review from a team as a code owner February 23, 2024 11:08
@DnPlas DnPlas force-pushed the KF-5375-add-env-variable branch from 93726f7 to be99aee Compare February 23, 2024 11:09
These variables are required by the OIDC Authservice to correctly redirect users 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
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.

Part of canonical/bundle-kubeflow#608
@DnPlas DnPlas force-pushed the KF-5375-add-env-variable branch from be99aee to ddc32e5 Compare February 23, 2024 11:11
Copy link
Contributor

@orfeas-k orfeas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested upgrading a CKF 1.8/stable instance and works. Thanks @DnPlas.

@DnPlas DnPlas merged commit aee6aa4 into track/ckf-1.8 Feb 26, 2024
7 checks passed
@DnPlas DnPlas deleted the KF-5375-add-env-variable branch February 26, 2024 13:35
DnPlas added a commit that referenced this pull request Feb 26, 2024
* feat: add OIDC_AUTH_URL and AFTER_LOGIN_URL env variables

These variables are required by the OIDC Authservice to correctly redirect users 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.

Part of canonical/bundle-kubeflow#608
DnPlas added a commit that referenced this pull request Feb 26, 2024
feat: add OIDC_AUTH_URL and AFTER_LOGIN_URL env variables (#136)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants