File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3737
3838# OIDC Config
3939OIDC_ISSUER = env .get ("CONDITIONAL_OIDC_ISSUER" , "https://sso.csh.rit.edu/auth/realms/csh" )
40- OIDC_CLIENT_ID = env .get ("CONDITIONAL_OIDC_CLIENT_ID" , "conditional" )
41- OIDC_CLIENT_SECRET = env .get ("CONDITIONAL_OIDC_CLIENT_SECRET" , "" )
42- OIDC_POST_LOGOUT_REDIRECT_URIS = [env .get ("CONDITIONAL_OIDC_CLIENT_LOGOUT" , "http://0.0.0.0:6969/logout" )]
40+
41+ OIDC_CLIENT_CONFIG = {
42+ 'client_id' : env .get ("CONDITIONAL_OIDC_CLIENT_ID" , "conditional" ),
43+ 'client_secret' : env .get ("CONDITIONAL_OIDC_CLIENT_SECRET" , "" ),
44+ 'redirect_uri' : env .get ("CONDITIONAL_OIDC_REDIRECT_URI" , "http://localhost:8080/redirect_uri" ),
45+ 'post_logout_redirect_uris' : [env .get ("CONDITIONAL_OIDC_CLIENT_LOGOUT" , "http://0.0.0.0:8080/logout" )],
46+ }
4347
4448# Openshift secret
4549SECRET_KEY = env .get ("CONDITIONAL_SECRET_KEY" , default = '' .join (secrets .token_hex (16 )))
You can’t perform that action at this time.
0 commit comments