splitwise / api-docs

API documentation for the Splitwise API.
http://dev.splitwise.com
28 stars 16 forks source link

Getting 404 when requesting token of oauth2 #76

Closed bhadran closed 9 months ago

bhadran commented 9 months ago

Trying to get access token through Postman

I am following the below with no luck https://github.com/splitwise/api-docs/issues/43#issuecomment-756218387

I am able to get 200 when I run the below through Postman. https://secure.splitwise.com/oauth/authorize ?redirect_uri= &response_type=code &state= &client_id=

However not able to figure out where will I get the code as mentioned in the below

To get an actual access-token from it, you need to POST to https://secure.splitwise.com/oauth/token

I tried running the https://secure.splitwise.com/oauth/authorize via browser and it get redirected to Splitwise . I am able to see the code in the address bar, but still getting 404 using it in Postman while doing POST to https://secure.splitwise.com/oauth/token

I would greatly appreciate any assistance you can provide...

jas14 commented 9 months ago

@bhadran , this repository is for issues with the API or documentation – unfortunately, we can't help much with debugging client-specific issues. That being said, please ensure you're following these general OAuth2 integration tips: