Skip to content
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

PDP says 'Permit' but User not authorized #33

Closed
cdanger opened this issue Oct 23, 2016 · 1 comment
Closed

PDP says 'Permit' but User not authorized #33

cdanger opened this issue Oct 23, 2016 · 1 comment

Comments

@cdanger
Copy link
Contributor

cdanger commented Oct 23, 2016

The Decision value in AuthzForce Response is not parsed correctly, which results in user unauthorized, even if AuthzForce decision is 'Permit'. Example of debug log:

2016-10-23 22:47:53.378 - DEBUG: AZF-Client - Decision: [ 'Permit' ]
2016-10-23 22:47:53.378 - ERROR: Root - User access-token not authorized: User not authorized in AZF for the given action and resource

@cdanger
Copy link
Contributor Author

cdanger commented Oct 23, 2016

Fix provided in pull request #34

@cdanger cdanger changed the title User not authorized although AuthzForce says 'Permit' PDP says 'Permit' but User not authorized Oct 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant