I have deployed Kong Ingress Controller (dbless) and created an OIDC Kong Plugin (Okta) which looks like this:
I have also created an Ingress Rule referencing the KongPlugin in
However when I try to access my resource, I get a 500 error code and the Kong-Proxy logs show the following message:
2020/06/26 15:39:20 [notice] 22#0: *239609 [lua] cache.lua:371: [openid-connect] loading configuration for https://<okta_domain>/oauth2/default/.well-known/openid-configuration from database, client: XX.XXX.X.X, server: kong, request: “HEAD /users HTTP/1.1”, host: “<Some_DNS>”
2020/06/26 15:39:20 [error] 22#0: *239609 [lua] handler.lua:98: [openid-connect] authorization endpoint was not specified, client: XX.XX.X.X, server: kong, request: “HEAD /users HTTP/1.1”, host: “<some_host>”
22.214.171.124 - - [26/Jun/2020:15:39:20 +0000] “HEAD /users HTTP/1.1” 500 0 “-” “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36”
What would be the reason for this issue “authorization endpoint was not specified” ?