Skip to content

Commit

Permalink
KOP-657: Bugfix in using a fallback value for OIDC_SMART_CONFIG_TOKEN…
Browse files Browse the repository at this point in the history
…_ENDPOINT.
  • Loading branch information
JorisHeadease committed Oct 31, 2023
1 parent 10f1959 commit 1473c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/oauth_server/verifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _exists_smart_service(client_id):


def _get_token_endpoint():
return current_app.config('OIDC_SMART_CONFIG_TOKEN_ENDPOINT', request.base_url + 'oauth2/token')
return current_app.config.get('OIDC_SMART_CONFIG_TOKEN_ENDPOINT', request.base_url + 'oauth2/token')


client_credentials_verifier = ClientCredentialsTokenVerifier()
Expand Down

0 comments on commit 1473c1b

Please sign in to comment.