Use OAuth2 for single sign on (SSO) with OpenID Connect.

If you’re building a web API, chances are good that your users will want to use it from more than one client—a browser, a mobile app, or some other program. In order to do this securely and conveniently, you’ll need to provide them with an account they can log into once and then access the API from any of their devices. This is called single sign-on (SSO). The most popular way of doing SSO today is through OpenID Connect . It provides identity providers like Google or Facebook with an easy way to authenticate users using OAuth 2

Back to Main