You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jeremykendall That would be perfect but sadly it doesn't work. It looks for /api/tasks and fails. It's a pain to add all the routes and allow each one.
I'll look into it when I get a chance. It would be a really nice addition, I think. If you have any thoughts or suggestions between now and whenever I can get around to this, please let me know.
@LorenzBI One option would be to implement your own version of JeremyKendall\Slim\Auth\Middleware\Authorization. You'd simply need to update the $isAuthorized callback to accept wildcards (or whatever you prefer in your custom implementation).
Hello,
Is it possible to use some form of wildcards when adding and allowing access to resources? Something like addResource('/api/*')?
Thanks
The text was updated successfully, but these errors were encountered: