Do not display plain "something went wrong" error message from openid-client

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.5.7
    • Affects Version/s: None
    • Component/s: OIDC DB Auth
    • None
    • 2
    • Not Needed
    • Developer Tools

      openid-client@6.x wraps generic errors, such as TLS certificate errors, in a "something went wrong" catch-all wrapper: https://github.com/panva/openid-client/blob/a1e4a4fd88fcdff12d88e3ff73f3e27fe5df4252/src/index.ts#L975

      We should make sure that when we print the error message in Compass or mongosh, we include the cause's error message as well.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: