Add scope strategy allowing different separator for prefixes, resources and verbs #3751
Open
4 of 5 tasks
Labels
feat
New feature or request.
Preflight checklist
Ory Network Project
No response
Describe your problem
I want to implement a scope strategy in my Application which allows for different separators between dynamic scopes, resources & verbs. Right now this is the closest we can get.
Describe your ideal solution
The ideal solution would be to follow this recommendation.
For summary we'd have these things to check for:
-
for prefix scopes sobudget-*
matchesbudget-400
andbudget-5
:
to separate resources so right nowhydra.clients
would be replaced byhydra:clients
.
for specifying the permission/verbhydra:clients.read
for exampleWorkarounds or alternatives
I would have to use
.
as separator exclusively, making it hard to differentiate between prefix, resource and verb in my application.Or I'd need to compile my own fosite & hydra with my custom scope strategy which adds significant complexity to my deployment pipeline & maintenance.
Version
latest
Additional Context
I'd also be happy if I could just use the prefix scopes and continue to use
.
as resource as well as verb separator.The text was updated successfully, but these errors were encountered: