Skip to content

Commit

Permalink
Add support to VA Auth0 integration to include claims from backend in…
Browse files Browse the repository at this point in the history
… VA token (#629)

* Add support to VA Auth0 integration to include user claims from backend in VA token

* review: rename include_claims_in_va_token & change description of config toggle

* review: remove sanitizeJWTTokenClaims

* Move privateKey check out of try/catch block

* review: Be more defensive when parsing error response

* Add changeset

* Revert "Add changeset"

This reverts commit 712dbdc.

* Add changeset
  • Loading branch information
spastorelli authored Dec 2, 2024
1 parent 03494fd commit db68a17
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 138 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-beds-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@gitbook/integration-va-auth0': minor
---

Add support to VA Auth0 integration to include claims from backend in token
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion integrations/va-auth0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@gitbook/api": "*",
"@gitbook/runtime": "*",
"itty-router": "^4.0.14",
"@tsndr/cloudflare-worker-jwt": "2.3.2"
"@tsndr/cloudflare-worker-jwt": "3.1.3"
},
"devDependencies": {
"@gitbook/cli": "workspace:*",
Expand Down
Loading

0 comments on commit db68a17

Please sign in to comment.