SSOwat/conf.json.example

63 lines
1.8 KiB
Text
Raw Normal View History

{
"domain_portal_urls": [
"example.tld": "example.tld/yunohost/sso",
"sub.example.tld": "example.tld/yunohost/sso",
"foobar.org": "foobar.org/yunohost/sso"
],
2020-12-17 16:47:31 +01:00
"permissions": {
"core_skipped": {
"auth_header": false,
"label": "Core permissions - skipped",
"public": true,
"show_tile": false,
"uris": [
"example.tld/yunohost/admin",
"example.tld/yunohost/api",
"re:^[^/]*/%.well%-known/ynh%-diagnosis/.*$",
"re:^[^/]*/%.well%-known/acme%-challenge/.*$",
"re:^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$"
],
"users": []
},
"myapp.admin": {
"auth_header": true,
"label": "MyApp (admin)",
2020-12-17 16:47:31 +01:00
"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"
]
}
},
"redirected_regex": {
"example.tld/yunohost[\\/]?$": "https://example.tld/yunohost/sso/"
},
"redirected_urls": {}
}