Config for oauth2 strategy
This commit is contained in:
parent
e12f87fd85
commit
ab66713941
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"strategy": "oauth2",
|
||||
"strategySettings": {
|
||||
"authorizationURL": "https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/auth",
|
||||
"tokenURL": "https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token",
|
||||
"clientID": "conductor-ui",
|
||||
"clientSecret": "b10d40b3-1f3c-47ce-baf4-d58bf6386eb3",
|
||||
"callbackURL": "http://localhost/login/callback",
|
||||
"logoutURL": "https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/logout",
|
||||
"logoutCallbackURL": "http://localhost/logout/callback",
|
||||
"roles": [ "admin", "viewer" ]
|
||||
},
|
||||
"cookieSecret": "b10d40b3-1f3c-47ce-baf4-d58bf6386eb3",
|
||||
"audit": true,
|
||||
"acl": [
|
||||
"POST /(.*) admin",
|
||||
"PUT /(.*) admin",
|
||||
"DELETE /(.*) admin",
|
||||
"GET /api/(.*) *",
|
||||
"GET /(.*) viewer,admin"
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue