minauthator/docs/draft.md
2024-11-29 17:32:42 +01:00

634 B

OAuth2 spec

https://datatracker.ietf.org/doc/html/rfc6749

https://stackoverflow.com/questions/79118231/how-to-access-the-axum-request-path-in-a-minijinja-template

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"]