Skip to content

Commit

Permalink
Improved now access key just created error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad authored Sep 26, 2024
1 parent 7b4c1e7 commit c8ab8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authress/api/token_verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def get_key_uncached(self, jwkKeyListUrl, kid):
if key['kid'] == kid:
return key

raise Exception("Unauthorized", "KID is not valid")
raise Exception("Unauthorized", "The Service Client Access Key is not valid yet or has been deleted. For new Access Keys just created, key validation is cached and can take up to 5 minutes before new keys can be used.")

0 comments on commit c8ab8a8

Please sign in to comment.