Skip to content

Commit

Permalink
fixup! feat(pro_connect): rename inclusion_connect to openid_connect
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Jul 31, 2024
1 parent 98dd522 commit e8f1f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lacommunaute/openid_connect/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def openid_connect_callback(request): # pylint: disable=too-many-return-stateme

user_data = jwt.decode(
response.content,
key=constants.PRO_CONNECT_CLIENT_SECRET,
key=constants.OPENID_CONNECT_CLIENT_SECRET,
algorithms=["HS256"],
audience=constants.PRO_CONNECT_CLIENT_ID,
audience=constants.OPENID_CONNECT_CLIENT_ID,
)

if "sub" not in user_data:
Expand Down

0 comments on commit e8f1f04

Please sign in to comment.