openid: Force nginx app, allow to change only access_role
This commit is contained in:
parent
0ac62bb2ae
commit
8118462f59
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
openresty_oidc_block =
|
openresty_oidc_block =
|
||||||
{ realm, client_id, client_secret, redirect_uri, access_role ? "" }: ''
|
{ access_role ? "" }: ''
|
||||||
access_by_lua_block {
|
access_by_lua_block {
|
||||||
local opts = {
|
local opts = {
|
||||||
discovery = "https://auth.giugl.io/realms/${realm}/.well-known/openid-configuration",
|
discovery = "https://auth.giugl.io/realms/master/.well-known/openid-configuration",
|
||||||
client_id = "${client_id}",
|
client_id = "nginx",
|
||||||
client_secret = "${client_secret}",
|
client_secret = "9C6BYxPhTbrRS4DIwd3Smk7e11ABmnt8",
|
||||||
logout_path = "/logout",
|
logout_path = "/logout",
|
||||||
redirect_after_logout_uri = "/",
|
redirect_after_logout_uri = "/",
|
||||||
redirect_uri = "/redirect_uri",
|
redirect_uri = "/redirect_uri",
|
||||||
|
Loading…
Reference in New Issue
Block a user