| || |
Help needed on oauth 2.0 testing
I am working on a new application wherein developers have created an oauth 2.0 authorization server for Authentication, Authorization Tokens, and Access Tokens. basically it is to authenticate users and obtain an oauth 2.0 access token. Can someone please help me how to test this. Any tool or software that can help in complete testing for this.
Don't really have any testing tool in mind. For us, we test our oauth service using a simple unittest framework and issuing CURL requests, then checking the expected response.
A cool trick is in Chrome, if you have the network tab open, you can observe the requests happening as you login. Then when you right click on an entry and do "Copy as cURL"
It'll give you the command line curl call to do that action.
It's very helpful for crafting the requests you need to do integration level tests.