A common question that we get is - can I connect to a service that requires oAuth authentication? Yes. You can use any service, including services that require oAuth type authentication. Every service usually has a slightly different way it supports or works with oAuth. In general, the flow is this:
- Make a request (usually by clicking on “Connect with…” or “Sign in..” with button or link) to the service’s login page. This usually opens in a new window.
- Login to the service
- The service redirects back to your app, to a special page you defined (callback URL). The callback URL usually has a request parameter (code) that you save.
- Using the code just received, make another request to the service, to get a token. Save the token
- Now that you have a token, you can invoke the service’s API.