0

When i try to test the ooauth/debug?_format=json endpoint through Postman i get the internal server error and error code 403 forbidden. Even though i use a valid Authorization header with Bearer and the access token for a certain user. The endpoint works fine for anonymous user. So i guess it's a permission error or the token expires even though i've set a big expiration date for testing purposes. Has anyone encountered the same issue as me? If yes did you manage to solve it? I follow the tutorial step by step from the official simple_oauth module page in drupal. Thanks in advance for reading this.

-1

I fixed this issue by going to admin/people/permissions and selecting all of the Simple OAuth permissions for Authenticated User. I'm sure a more refined approach to selecting permissions will be possible, but initially selecting all of them has fixed this issue for me.

New contributor
Nick Riddell is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.