IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Invalid scope raise http 403 forbidden

Open vdecristofaro opened this issue 9 years ago • 2 comments

  • [X] I read and understood how to enable logging

Issue / Steps to reproduce the problem

I have successfully setup an IdentityServer instance. Also, I have setup an API with two controllers and I have created two different policies as described here (section validating scopes).

I have then created two clients, one for each api resource.

Client A —> Scope A —> Api A
Client B —> Scope B —> Api B

Everything is working, however I would expect to get a 401 Unauthorized if calling Api B from Client A. Instead I am getting 403 Forbidden.

Is this correct? Please excuse if it is a dumb question.

vdecristofaro avatar Oct 13 '17 21:10 vdecristofaro

https://tools.ietf.org/html/rfc6750#section-3

brockallen avatar Oct 13 '17 22:10 brockallen

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 14 '20 05:01 lock[bot]