Skip to content
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.

Commit

Permalink
Add environment to JWT 403 logging
Browse files Browse the repository at this point in the history
  • Loading branch information
skiptomyliu committed Feb 4, 2023
1 parent 2ee00c8 commit 23ed064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confidant/routes/jwks.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_token(id):
'environment': environment,
}
):
msg = f'{logged_in_user} does not have access to get JWT {id}'
msg = f'{logged_in_user} does not have access to get JWT {id} in env {environment}'
error_msg = {'error': msg}
return jsonify(error_msg), 403

Expand Down

0 comments on commit 23ed064

Please sign in to comment.