Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1845

Add debug flag for dumping OIDC tokens to output

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: OIDC DB Auth
    • None
    • Developer Tools
    • Needed
    • Hide

      mongosh adds a --oidcDumpTokens flag with two possible values, --oidcDumpTokens=redacted and --oidcDumpTokens=include-secrets. When used with this flag, mongosh will print tokens with extra debugging information. This should only be used for debugging. If the value include-secrets is chosen, this flag will include credentials that can potentially be used to authenticate to database servers, so this variant should not be chosen when the output of mongosh is potentially visible to unauthorized people.

      Show
      mongosh adds a --oidcDumpTokens flag with two possible values, --oidcDumpTokens=redacted and --oidcDumpTokens=include-secrets . When used with this flag, mongosh will print tokens with extra debugging information. This should only be used for debugging. If the value include-secrets is chosen, this flag will include credentials that can potentially be used to authenticate to database servers, so this variant should not be chosen when the output of mongosh is potentially visible to unauthorized people.

          Assignee:
          anna.henningsen@mongodb.com Anna Henningsen
          Reporter:
          anna.henningsen@mongodb.com Anna Henningsen
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: