Skip to content

Instantly share code, notes, and snippets.

View ansani's full-sized avatar

Salvatore Ansani ansani

View GitHub Profile
access_by_lua '
local opts = {
redirect_uri_path = "/redirect_uri",
accept_none_alg = true,
discovery = "http://www.example.com:8080/auth/realms/NGINX/.well-known/openid-configuration",
client_id = "nginx",
client_secret = "62d3b835-e3d1-4cec-a2f2-612f496bc6c3",
redirect_uri_scheme = "http",
logout_path = "/logout",
redirect_after_logout_uri = "http://www.example.com:8080/auth/realms/NGINX/protocol/openid-connect/logout?redirect_uri=http://www.example.com/",