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

[OIDC] Do not display "Login successful" page if /token access fails

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: OIDC DB Auth
    • None
    • Developer Tools
    • 2

      Currently, when the Auth Code Flow part of OIDC succeeds, we accept the redirect back to the local HTTP server, re-redirect the user to a success landing page, and close the server once that is done.

      However, this success landing page can be misleading if the token endpoint request fails. We should wait before rendering the success page until the token request (client.callback() call) has actually succeeded.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: