How to override OnForbidden property while creating JwtBearerEvents #26657
Unanswered
wanjuntham
asked this question in
Q&A
Replies: 1 comment
-
Ah I think I found it, I need to do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have been consuming JwtBearer nuget package to enable oauth2 flow for my application. I want to override the returned response body when scope of jwt is invalid.
While im trying to pass a jwt with invalid scope, it didnt respond with the expected body, but an empty body. Also, it throws an exception before returning the response.
Can anyone here help me out?
Beta Was this translation helpful? Give feedback.
All reactions