-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(clerk): add alternative decoder (#8642)
* fix(clerk) add alternative decoder * Update packages/auth-providers/clerk/api/src/decoder.ts Co-authored-by: Charlie Ray <charlie@dsrecordings.com> * Update packages/auth-providers/clerk/api/src/decoder.ts Co-authored-by: Charlie Ray <charlie@dsrecordings.com> * add `id` for backwards compatibility * fix prettier error * extend type for jwt payload * simplify decoder * duplicate test for new decoder * fix set up notes * remove `parseJWT`; only return `id` in the template * lint fix * update docs * fix typos, add link * rename to clerkAuthDecoder --------- Co-authored-by: Charlie Ray <charlie@dsrecordings.com>
- Loading branch information
1 parent
ccc78bc
commit d801898
Showing
6 changed files
with
115 additions
and
39 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { authDecoder } from './decoder' | ||
export { authDecoder, clerkAuthDecoder } from './decoder' |
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
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