-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove non-working access_token parsing code
The removed code was broken is serveral ways: - The key use for verification was always empty - Using a static key for access_token verification is incompatible with key rotation - The type assertion (which was never hit anyways) to convert the return MapClaims to StandardClaims can't really work So in the end we were always using the default ttl for caching the userinfo.
- Loading branch information
Showing
1 changed file
with
26 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters