Skip to content
Snippets Groups Projects
Commit fbe9c086 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

expand logging

parent 84c2cc5f
No related branches found
No related tags found
No related merge requests found
Pipeline #131236 passed
...@@ -18,9 +18,7 @@ oauth.register( ...@@ -18,9 +18,7 @@ oauth.register(
client_id=os.getenv("OAUTH_CLIENT_ID"), client_id=os.getenv("OAUTH_CLIENT_ID"),
server_metadata_url=os.getenv("OAUTH_METADATA_URL"), server_metadata_url=os.getenv("OAUTH_METADATA_URL"),
client_secret=os.getenv("OAUTH_CLIENT_SECRET"), client_secret=os.getenv("OAUTH_CLIENT_SECRET"),
client_kwargs={ client_kwargs={'scope' : 'openid profile email eflows'}
'scope' : 'openid email profile eflows'
}
) )
...@@ -33,6 +31,7 @@ class UnityIntegrationView(AppBuilderBaseView): ...@@ -33,6 +31,7 @@ class UnityIntegrationView(AppBuilderBaseView):
def login(): def login():
redirect_uri = url_for('.authorize', _external=True) redirect_uri = url_for('.authorize', _external=True)
log.debug("Redirect uri is '" + str(redirect_uri) + "'") log.debug("Redirect uri is '" + str(redirect_uri) + "'")
log.debug("Metadata uri is '" + str(os.getenv("OAUTH_METADATA_URL")) + "'")
return oauth.unity.authorize_redirect(redirect_uri) return oauth.unity.authorize_redirect(redirect_uri)
@unity.route('/authorize') @unity.route('/authorize')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment