Skip to content

Commit 69d7848

Browse files
pikachu0542tallen42
authored andcommitted
Fixed redirect_uri
1 parent 4714fa7 commit 69d7848

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.env.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@
4242
OIDC_CLIENT_CONFIG = {
4343
'client_id': env.get("CONDITIONAL_OIDC_CLIENT_ID", "conditional"),
4444
'client_secret': env.get("CONDITIONAL_OIDC_CLIENT_SECRET", ""),
45-
'redirect_uri': env.get("CONDITIONAL_OIDC_REDIRECT_URI", "http://localhost:8080/redirect_uri"),
4645
'post_logout_redirect_uris': [env.get("CONDITIONAL_OIDC_CLIENT_LOGOUT", "http://0.0.0.0:8080/logout")],
4746
}
4847

48+
OIDC_REDIRECT_URI = env.get("CONDITIONAL_OIDC_REDIRECT_URI", "http://localhost:8080/redirect_uri")
49+
4950
# Openshift secret
5051
SECRET_KEY = env.get("CONDITIONAL_SECRET_KEY", default=''.join(secrets.token_hex(16)))
5152

0 commit comments

Comments
 (0)