mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
update default config
This commit is contained in:
parent
072e24c622
commit
fec1e4cd3b
1 changed files with 66 additions and 28 deletions
|
@ -1,31 +1,69 @@
|
||||||
{
|
{
|
||||||
"portal_scheme": "https",
|
"additional_headers": {
|
||||||
"portal_domain": "example.com",
|
"Auth-User": "uid",
|
||||||
"portal_path": "/ssowat/",
|
"Email": "mail",
|
||||||
"theme": "default",
|
"Name": "cn",
|
||||||
"domains": [
|
"Remote-User": "uid"
|
||||||
"example.com",
|
},
|
||||||
|
"domains": [
|
||||||
|
"example.tld",
|
||||||
"example.org"
|
"example.org"
|
||||||
],
|
],
|
||||||
"skipped_urls": [
|
"permissions": {
|
||||||
"example.com/megusta",
|
"core_skipped": {
|
||||||
"example.org/somuchwin"
|
"auth_header": false,
|
||||||
],
|
"label": "Core permissions - skipped",
|
||||||
"unprotected_urls": ["example.com/yunoprotect"],
|
"public": true,
|
||||||
"additional_headers": {
|
"show_tile": false,
|
||||||
"Auth-User": "uid",
|
"uris": [
|
||||||
"Remote-User": "uid",
|
"example.tld/yunohost/admin",
|
||||||
"Email": "mail",
|
"example.tld/yunohost/api",
|
||||||
"Name": "cn"
|
"re:^[^/]*/%.well%-known/ynh%-diagnosis/.*$",
|
||||||
},
|
"re:^[^/]*/%.well%-known/acme%-challenge/.*$",
|
||||||
"users": {
|
"re:^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$"
|
||||||
"myuser": {
|
],
|
||||||
"example.com/myapp": "My App",
|
"users": []
|
||||||
"example.com/myapp2": "My second App"
|
},
|
||||||
},
|
"myapp.admin": {
|
||||||
"myuser2": {
|
"auth_header": true,
|
||||||
"example.org/myapp": "My other domain App",
|
"label": "MyApp (api)",
|
||||||
"example.com/myapp2": "My second App"
|
"public": false,
|
||||||
}
|
"show_tile": false,
|
||||||
}
|
"uris": [
|
||||||
}
|
"example.tld/myapp/admin"
|
||||||
|
],
|
||||||
|
"users": [
|
||||||
|
"JaneDoe"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"myapp.api": {
|
||||||
|
"auth_header": false,
|
||||||
|
"label": "MyApp (api)",
|
||||||
|
"public": true,
|
||||||
|
"show_tile": false,
|
||||||
|
"uris": [
|
||||||
|
"re:domain%.tld/%.well%-known/.*"
|
||||||
|
],
|
||||||
|
"users": []
|
||||||
|
},
|
||||||
|
"myapp.main": {
|
||||||
|
"auth_header": true,
|
||||||
|
"label": "MyApp",
|
||||||
|
"public": true,
|
||||||
|
"show_tile": true,
|
||||||
|
"uris": [
|
||||||
|
"example.tld/myapp"
|
||||||
|
],
|
||||||
|
"users": [
|
||||||
|
"JaneDoe",
|
||||||
|
"JohnDoe"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"portal_domain": "example.tld",
|
||||||
|
"portal_path": "/yunohost/sso/",
|
||||||
|
"redirected_regex": {
|
||||||
|
"example.tld/yunohost[\\/]?$": "https://example.tld/yunohost/sso/"
|
||||||
|
},
|
||||||
|
"redirected_urls": {}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue