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.
Context
The charmed oidc-gatekeeper is missing some env variables that configure the redirection behaviour under certain circumstances along the authentication flow:
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.