You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -481,6 +481,13 @@ function getUserFromIdToken(req, idToken) {
481
481
482
482
The decoded json is return as shown:
483
483
484
+
```json
485
+
{
486
+
"alg": "HS256",
487
+
"typ": "JWT"
488
+
}
489
+
```
490
+
484
491
```json
485
492
{
486
493
"organizations": [],
@@ -502,6 +509,18 @@ The decoded json is return as shown:
502
509
}
503
510
```
504
511
512
+
To decode the JWT yourself, you can paste the token into the [JWT Website](https://jwt.io/) - The signature used to sign the token is `59de900a973fa2e0` and can be pasted into the website to verify that the encoded identity came from Keyrock
513
+
514
+
515
+
```text
516
+
HMACSHA256(
517
+
base64UrlEncode(header) + "." +
518
+
base64UrlEncode(payload),
519
+
59de900a973fa2e0
520
+
)
521
+
```
522
+
523
+
505
524
### Authorization Code - Running the Example
506
525
507
526
It is possible to invoke the Authorization Code grant flow programmatically, by bringing up the page
0 commit comments