Open thebetterjort opened 5 years ago
What I got to work was adding ssl_verify=no to the code and building it myself.
[]# cat nginx/lua/auth.lua local opts = { redirect_uri_path = os.getenv("OID_REDIRECT_PATH") or "/redirect_uri", discovery = os.getenv("OID_DISCOVERY"), client_id = os.getenv("OID_CLIENT_ID"), client_secret = os.getenv("OID_CLIENT_SECRET"), token_endpoint_auth_method = os.getenv("OIDC_AUTH_METHOD") or "client_secret_basic", renew_access_token_on_expiry = os.getenv("OIDC_RENEW_ACCESS_TOKEN_ON_EXPIERY") ~= "false", scope = os.getenv("OIDC_AUTH_SCOPE") or "openid", iat_slack = 600, ssl_verify = "no", }
openidc.lua:486: failed: 18: self signed certificate, client: 172.24.0.1, server: _, request: "GET / HTTP/1.1", host: "localhost:9099"