Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7620

Improve logging when OIDC provider is unreachable

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Can't Do
    • Major
    • None
    • 2.10 GA
    • Gateway
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%

    Description

      Currently when attempting to send a request to APIcast, if the OIDC provider is unreachable for any reason the following or similar error message appears in the APIcast logs:

      2021/09/27 13:18:41 [warn] 27#27: *7 proxy.lua:196: handle_oauth(): failed to initialize OpenID Connect for service 6: missing OIDC configuration, requestID=031630eaef87f30bf2b26a331788df77, client: 10.131.2.1, server: _, request: "GET / HTTP/1.1", host: "example.com"
      2021/09/27 13:18:41 [debug] 27#27: *7 service.lua:236: get_usage(): [mapping] service 6 has 25 rules, requestID=031630eaef87f30bf2b26a331788df77
      2021/09/27 13:18:41 [debug] 27#27: *7 proxy.lua:280: rewrite(): oauth failed with [jwt] invalid alg, requestID=031630eaef87f30bf2b26a331788df77 

      It would be helpful if the language was clearer and that there was some indication about what endpoint was not reachable. In this case the `.well-known/oidc-configuration` endpoint.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-spoole Shannon Poole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: