Skip to content

Commit

Permalink
Merge 978f9bc into af05d68
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Aug 9, 2021
2 parents af05d68 + 978f9bc commit 8c70981
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions fence/blueprints/well_known.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ def openid_configuration():
https://accounts.google.com/.well-known/openid-configuration
"""

# Get basic provider information.
oidc_iss = (
config.get("OPENID_CONNECT", {}).get("fence", {}).get("api_base_url", None)
)
issuer = oidc_iss or config["BASE_URL"]

# "Subject type" means the method used to assign the ``sub`` field in JWTs.
# Fence sets the ``sub`` field to the user ID, so ``sub`` is the same
# across all clients for the same user, meaning that the subject type is
Expand Down Expand Up @@ -85,7 +79,7 @@ def openid_configuration():

return flask.jsonify(
{
"issuer": issuer,
"issuer": config["BASE_URL"],
"authorization_endpoint": authorization_endpoint,
"token_endpoint": token_endpoint,
"userinfo_endpoint": userinfo_endpoint,
Expand Down

0 comments on commit 8c70981

Please sign in to comment.