oauth2-demo-php
oauth2-demo-php copied to clipboard
Curl Resource Request Test
This Pull request is related to https://github.com/bshaffer/oauth2-server-php/issues/254
Can you please explain to me the reason for this pull request?
The "required scope" should be built into the resource action itself, ie hard coded somewhere, and not part of the request, as is the case in this PR.
This pull request is related to bshaffer/oauth2-server-php#254 Just to show my problem in code that I describe in this issue. However, as I said in the issue, the Test in this pull request doesn't fail.
Thank you for this. I am closing this since a test suite for this demo app will require a more standard method of testing (using behat/mink, etc).
However, I think the tests you've written would be a great addition to your own app imlementation