Skip to content

Commit 1ba63ae

Browse files
authored
DOCSP-42038 OIDC ID Token Option (#374)
1 parent 93fbad2 commit 1ba63ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/reference/options.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,13 @@ Authentication Options
532532

533533
mongosh 'mongodb://localhost/' --authenticationMechanism MONGODB-OIDC --oidcFlows=auth-code,device-auth
534534

535+
.. option:: --oidcIdTokenAsAccessToken
536+
537+
Specifies whether ``mongosh`` uses the ID token received from the identity
538+
provider instead of the access token. Use this option with identity providers
539+
that you can't configure to provide :abbr:`JWT (JSON Web Token)` access
540+
tokens.
541+
535542
.. option:: --oidcRedirectUri
536543

537544
Specifies a URI where the identity provider redirects you after authentication.

0 commit comments

Comments
 (0)