-
Notifications
You must be signed in to change notification settings - Fork 130
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
Authorize(Roles="Admin") -attribute not working #30
Comments
This is likely the identity framework itself
…On Mon, Mar 13, 2017 at 17:41 yonzo ***@***.***> wrote:
When decorating my controller methods with i.e.:
*Autorize(Roles="Admin")*
I get the 404-errormessage "Not found".
If I remove *Roles="Admin"*, it's all good (as long as the user has
logged in of course).
I might be missing some fundamental stuff here, but if so - please
enlighten me! :-)
Regards,
Yonzo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAK_3W1Sag7p3o0G0_wO9cTmGUvOmARvks5rlbgSgaJpZM4Mb2sy>
.
|
Ok, thanks - I'll look into it some more... |
@yonzo This is caused by missing |
Thanks a lot nohwnd! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When decorating my controller methods with i.e.:
Autorize(Roles="Admin")
I get the 404-errormessage "Not found".
If I remove Roles="Admin", it's all good (as long as the user has logged in of course).
I might be missing some fundamental stuff here, but if so - please enlighten me! :-)
Regards,
Yonzo
The text was updated successfully, but these errors were encountered: