Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Security documentation to open a unauthenticated subpath #10361

Closed
MarcusBiel opened this issue Jun 30, 2020 · 3 comments · Fixed by #10937
Closed

Improve Security documentation to open a unauthenticated subpath #10361

MarcusBiel opened this issue Jun 30, 2020 · 3 comments · Fixed by #10937
Assignees
Labels
Milestone

Comments

@MarcusBiel
Copy link

As described in the documentation, I have globally set my api as authenticated:
quarkus.http.auth.permission.authenticated.paths=/api/*

Now however, for a webhook I need a public endpoint. The documentation was not clear (enough) that I needed to
open a path again like this:
quarkus.http.auth.permission.public.paths=/api/noauth/*

I was expecting it would be enough to just leave out the @authenticated and allowed roles annotations from the open endpoint, but that doesn't work in case of a globally authenticated api path.

@MarcusBiel MarcusBiel added the kind/enhancement New feature or request label Jun 30, 2020
@MarcusBiel
Copy link
Author

@emmanuelbernard emmanuelbernard changed the title Improve Security documentation Improve Security documentation to open a unauthenticated subpath Jun 30, 2020
@sberyozkin sberyozkin added this to the 1.7.0 - master milestone Jul 24, 2020
@sberyozkin
Copy link
Member

@MarcusBiel It will be fixed as part of #10937

@sberyozkin
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants