Commit 73013c9
authored
Add function to return id_token (for Service Now)
Some IDPs such as OpenAM can be configured to provide both an access_token and an id_token with the callback. This update provides a function that can be called to return the id_token instead of the access_token. The id_token contains a payload with claims related to the authenticated identity. This was required for API integration to Service Now, who told me their service cannot be configured to accept an access_token.1 parent 7bbfffb commit 73013c9
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
460 | 474 | | |
461 | 475 | | |
462 | 476 | | |
| |||
0 commit comments