Skip to content

Can I exclude a route from security? #37

Closed Answered by romalytvynenko
DaGLiMiOuX asked this question in Q&A
Discussion options

You must be logged in to vote

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

🙌

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by romalytvynenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants