"not" claims lead to spurious error response #572
Unanswered
paul-palmer
asked this question in
Q&A
Replies: 2 comments 5 replies
-
On which platform, which version of the module and which AuthType is this? Edit: never mind, I reproduced it locally: it is benign indeed: the header is sent by the module after seeing AUTH_DENIED, however the module has no way to know about the surrounding negating logic. I guess we're looking at an extra configuration option to suppress this confusing header... |
Beta Was this translation helpful? Give feedback.
3 replies
-
how about this: 8ed00cc |
Beta Was this translation helpful? Give feedback.
2 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.
-
We have a use case in which we need to block users with a specific claim from accessing certain parts of the web site.
If we use negative logic to test the claim:
Require not claim roles:forbidden-role
orthe "Requires" are processed correctly, yielding the intended result. However, even though the authorized user's request succeeds, the header:
will be added to the response. It appears benign, but is causing confusion when on-boarding new customers.
This appears to be a bug in the module. Can anyone confirm that it is in fact benign?
Beta Was this translation helpful? Give feedback.
All reactions