2024-10-20 22:05:20 +00:00
|
|
|
[instance]
|
2024-11-11 20:43:39 +00:00
|
|
|
base_uri = "http://localhost:8085"
|
2024-10-20 22:05:20 +00:00
|
|
|
name = "Example org"
|
|
|
|
logo_uri = "https://example.org/logo.png"
|
|
|
|
|
|
|
|
[[applications]]
|
|
|
|
slug = "demo_app"
|
|
|
|
name = "Demo app"
|
2024-11-09 18:57:15 +00:00
|
|
|
description = "A super application where you can do everything you want."
|
2024-10-20 22:05:20 +00:00
|
|
|
client_id = "a1785786-8be1-443c-9a6f-35feed703609"
|
|
|
|
client_secret = "49c6c16a-0a8a-4981-a60d-5cb96582cc1a"
|
2024-11-25 08:07:30 +00:00
|
|
|
login_uri = "https://localhost:9876"
|
2024-11-09 18:57:15 +00:00
|
|
|
allowed_redirect_uris = [
|
2024-11-25 08:07:30 +00:00
|
|
|
"http://localhost:9090/callback",
|
2024-11-11 20:43:39 +00:00
|
|
|
"http://localhost:9876/callback"
|
2024-11-09 18:57:15 +00:00
|
|
|
]
|
2024-11-25 08:07:30 +00:00
|
|
|
visibility = "Internal"
|
|
|
|
authorize_flow = "Implicit"
|
|
|
|
|
|
|
|
[[applications]]
|
|
|
|
slug = "wiki"
|
|
|
|
name = "Wiki app"
|
|
|
|
description = "The knowledge base of the exemple org."
|
|
|
|
client_id = "f9de1885-448d-44bb-8c48-7e985486a8c6"
|
|
|
|
client_secret = "49c6c16a-0a8a-4981-a60d-5cb96582cc1a"
|
|
|
|
login_uri = "https://wiki.example.org/login"
|
|
|
|
allowed_redirect_uris = [
|
|
|
|
"https://wiki.example.org/oauth2/callback"
|
|
|
|
]
|
|
|
|
visibility = "Public"
|
|
|
|
authorize_flow = "Implicit"
|
|
|
|
|
|
|
|
[[applications]]
|
|
|
|
slug = "private_app"
|
|
|
|
name = "Demo app"
|
|
|
|
description = "Private app you should never discover"
|
|
|
|
client_id = "c8a08783-2342-4ce3-a3cb-9dc89b6bdf"
|
|
|
|
client_secret = "this_is_the_secret"
|
|
|
|
login_uri = "https://private-app.org"
|
|
|
|
allowed_redirect_uris = [
|
|
|
|
"http://localhost:9091/authorize",
|
|
|
|
]
|
|
|
|
visibility = "Private"
|
2024-11-14 12:35:46 +00:00
|
|
|
authorize_flow = "Implicit"
|
2024-11-08 22:38:54 +00:00
|
|
|
|
|
|
|
[[roles]]
|
|
|
|
slug = "basic"
|
|
|
|
name = "Basic"
|
|
|
|
description = "Basic user"
|
|
|
|
default = true
|
2024-11-29 16:32:42 +00:00
|
|
|
permissions = []
|
2024-11-08 22:38:54 +00:00
|
|
|
|
|
|
|
[[roles]]
|
|
|
|
slug = "admin"
|
|
|
|
name = "Administrator"
|
|
|
|
description = "Full power on organization instance"
|
2024-11-29 16:32:42 +00:00
|
|
|
permissions = [
|
|
|
|
"InviteUser", # creation of user
|
|
|
|
"ListUsers",
|
|
|
|
"EnableUser",
|
|
|
|
"DisableUser",
|
|
|
|
"AssignUserGroups"
|
|
|
|
]
|
|
|
|
|
|
|
|
# [[groups]]
|
|
|
|
# slug = "ca_member"
|
|
|
|
# name = "G1"
|
|
|
|
# description = "Lorem ipsum"
|
|
|
|
# roles = []
|
2024-11-08 22:38:54 +00:00
|
|
|
|
2024-11-29 16:32:42 +00:00
|
|
|
# [[groups]]
|
|
|
|
# slug = "bureau"
|
|
|
|
# name = "G2"
|
|
|
|
# description = "Lorem ipseum"
|
|
|
|
# roles = ["admin"]
|