2024-11-02 16:37:57 +00:00
|
|
|
# OAuth2 spec
|
|
|
|
|
|
|
|
https://datatracker.ietf.org/doc/html/rfc6749
|
2024-11-08 22:38:54 +00:00
|
|
|
|
|
|
|
https://stackoverflow.com/questions/79118231/how-to-access-the-axum-request-path-in-a-minijinja-template
|
2024-11-29 16:32:42 +00:00
|
|
|
|
|
|
|
# Need for groups and roles
|
|
|
|
|
|
|
|
There is two kinds of role
|
|
|
|
|
|
|
|
- Role that will be used interllay to the tapp
|
|
|
|
- Roles that will be used exteranlly on oauth2 clients.
|
|
|
|
|
|
|
|
- For now we only have roles and not groups
|
|
|
|
|
|
|
|
## Groups feature
|
|
|
|
|
|
|
|
Group will be later used to combine multiple roles.
|
|
|
|
|
|
|
|
# [[groups]]
|
|
|
|
# slug = "ca_member"
|
|
|
|
# name = "G1"
|
|
|
|
# description = "Lorem ipsum"
|
|
|
|
# roles = []
|
|
|
|
|
|
|
|
# [[groups]]
|
|
|
|
# slug = "bureau"
|
|
|
|
# name = "G2"
|
|
|
|
# description = "Lorem ipseum"
|
|
|
|
# roles = ["admin"]
|