Replies: 1 comment 1 reply
-
@romalytvynenko There is a problem with my question ? I permit to ask you due to your emoji reaction ... You seem suprised of suh a request ... The fact is that actually, we cannot say : This route (or group of routes) is protected by sanctum, while this route (or group of routes) is protected by HTTP basic auth ... We should be able to say :
For our API we have even a more complicated security scheme, where a route give restricted information when the requesting user is not authenticated and not an administrator (role), while more sensible information are given when the user is authenticated and is an administrator. Does I'm clear enough ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning,
Right now, and as per documentation, it is possible to setup default secure scheme for our API, as excluding some methods using the
@unauthenticated
annotation (tag).In our API, we've plenty of routes, some of them protected using sanctum, and other using stateless HTTP basic authentication.
Could it be possible to add support so one can specify which routes are protected by one or another secure scheme ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions