Skip to content

Commit c8ab8a8

Browse files
authored
Improved now access key just created error.
1 parent 7b4c1e7 commit c8ab8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authress/api/token_verifier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ def get_key_uncached(self, jwkKeyListUrl, kid):
8585
if key['kid'] == kid:
8686
return key
8787

88-
raise Exception("Unauthorized", "KID is not valid")
88+
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 commit comments

Comments
 (0)