splitwise / api-docs

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

API for user login to application #16

Closed satabdisikdar closed 5 years ago

satabdisikdar commented 5 years ago

Where can I get the API for user login? I don't see that in API documentation https://dev.splitwise.com/

rofreg commented 5 years ago

Hey there – apologies for the slow reply! You'll want to follow the instructions in the Authentication section of our API docs.

The Splitwise API uses a standard OAuth flow for user login, which goes something like this:

Note that the Splitwise API does not let you log in directly – you cannot directly pass a user's email address and password to the Splitwise API. The OAuth authentication flow was designed to let a user securely log in and grant access to your app, without the user ever needing to tell your app their Splitwise user credentials.