-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow device auth flow without id_token MONGOSH-1669 (#187)
* fix: allow device auth flow without id_token MONGOSH-1669 * test: add integration test * Update src/log-hook.ts Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com> * test: reuse mock provider * extend error message * bump oidc-mock-provider * cleanup * types * fix: catch both inconsistencies in id_token presence * test: update test * update comment * refactor: use single type for LastIdTokenClaims * fix: check * test --------- Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
- Loading branch information
1 parent
14de2c8
commit 6bef820
Showing
6 changed files
with
128 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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