Can I exclude a route from security? #37
-
Hi there, again! I've been reading this discussion which I found useful as I want to inform our third parties that they have to authenticate through It would be nice that the plugin checks Btw, would be nice that generated docs didn't show Thanks for your time and effort! 👍 Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @DaGLiMiOuX I'm on it (allowing unauthenticated routes). About the rendered docs and Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey @DaGLiMiOuX Starting from Simply add Here is a doc: https://scramble.dedoc.co/usage/security#excluding-a-route-from-security-requirements 🙌 |
Beta Was this translation helpful? Give feedback.
Hey @DaGLiMiOuX
Starting from
0.4.0
you can do that!Simply add
@unauthenticated
PhpDoc annotation to route's method you would like to exclude from security requirements.Here is a doc: https://scramble.dedoc.co/usage/security#excluding-a-route-from-security-requirements
🙌