-
Notifications
You must be signed in to change notification settings - Fork 294
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
Allow one path for both authenticated and unauthenticated users #941
Comments
So, I understand you need an api path like In this case you would need to define |
Please specify the version of the plugin you're using. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to have one route in my API be able to take requests and return the appropriate results based on whether or not an authentication or authorization has occurred. It seems by default, the path is blocked for unauthorized users. Using bypassAuth doesn't work here. How can I allow unprotected access and let the controller figure it out?
I want to be able to show some public content for unauthorized users, then show protected content for authorized users.
The text was updated successfully, but these errors were encountered: