Skip to content

Commit

Permalink
KOP-657: Changed _get_token_endpoint() to not fabric its own url, b…
Browse files Browse the repository at this point in the history
…ut used the configuration. It returned base_url + 'token' instead of base_url + 'oauth2/token'.
  • Loading branch information
JorisHeadease committed Oct 31, 2023
1 parent 794e5be commit 20f2489
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 @@ -218,7 +218,7 @@ def _exists_smart_service(client_id):


def _get_token_endpoint():
return request.root_url + 'token'
return current_app.config['OIDC_SMART_CONFIG_TOKEN_ENDPOINT']


client_credentials_verifier = ClientCredentialsTokenVerifier()
Expand Down

0 comments on commit 20f2489

Please sign in to comment.