Dynamic api scopes #333
Unanswered
thekonqueror
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I went over the wiki, issues and discussions before starting this thread, but coulnd't find any solution.
Is there a way to dynamically add api scopes for some users?
My use case for this is as follows:
I'd like to avoid asking for read_customers, read_orders, read_all_orders permissions unless the user is on higher plans.
I tried Config::set in laravel, but it only applies to verify.scopes, resulting in a redirect loop between auth and verify middlewares.
Beta Was this translation helpful? Give feedback.
All reactions