New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Platformatic DB] Revise the Authorization documentation #437
Comments
@marcopiraccini I have some questions about authorization with Platformatic DB. Here are the first ones, which are related to Configuration reference: Authorization)
|
They are the routes used by the dashboard.
Using an
Accessing the dashboard with a |
Thanks @mcollina. I have some more questions for you/the team:
|
"authorization": {
"jwt": {
"namespace": "https://platformatic.auth/",
"jwks": {
"allowedDomains": [ "{PLT_AUTH0_JWKS_DOMAIN}" ]
}
},
"webhook": {
"url": "https://auth.server.dev/verify"
},
"rules": [
{
"role": "user",
"entity": "movie",
"find": true
},
{
"role": "user",
"entity": "book",
"find": true
},
{
"role": "api-key",
"entity": "movie",
"find": true,
"save": true
}
]
}
|
This is a fun question to answer. Basically it holds two things:
As well as every other thing we need to pass through the application. After developing |
The Authorization documentation for Platformatic DB is currently split between the Platformatic DB Configuration reference page and it's own reference section. It's slightly confusing to navigate and is missing examples that explicitly show how roles work in the context of rules.
Tasks
authorization
schemaNew structure and topics to cover
adminSecret
roleKey
anonymousRole
jwt
webhook
rules
ctx
object ???The text was updated successfully, but these errors were encountered: