You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an API that uses a global filter to require authenticated requests. However, adding the [AllowAnonymous] attribute on RESTier API methods does not allow anonymous users to invoke the method.
Assemblies affected
Microsoft.Restier.AspNetCore
1.0.0-rc8.20220714.1
Reproduce steps
Add an AllowAnonymous attribute to any ApiBase class.
Now attempt to access any base controller and it will require authentication.
Expected result
Adding AllowAnonymous would allow the global Index API surface to not require valid credentials and/or Claims to be present.
Actual result
The method still requires authentication.
The text was updated successfully, but these errors were encountered:
garaydev
changed the title
Adding [AllowAnonymous] does not allow Anonymous requests
Adding [AllowAnonymous] does not allow Anonymous requests
Aug 15, 2022
robertmclaws
changed the title
Adding [AllowAnonymous] does not allow Anonymous requests
[2.0] Adding [AllowAnonymous] does not allow Anonymous requests
Dec 5, 2023
Hello RESTier Team!
We have an API that uses a global filter to require authenticated requests. However, adding the
[AllowAnonymous]
attribute on RESTier API methods does not allow anonymous users to invoke the method.Assemblies affected
Microsoft.Restier.AspNetCore
Reproduce steps
Expected result
Adding AllowAnonymous would allow the global Index API surface to not require valid credentials and/or Claims to be present.
Actual result
The method still requires authentication.
The text was updated successfully, but these errors were encountered: