OAuth

Every implementation of OAuth is a little different. It's very likely that you are going to want to customize the experience. You might require multi-factor authentication, authentication via a social network, or maybe JWT or SAML. Because of this, we provide a OAuth 2.0 Reference Application that you can use as-is or completely tailor to your needs.

The OAuth Reference Application supports the following flows:

The README has quickstart instructions and you can see it work with the URL Shortener sample API.

The App uses the following authorization schemes that must be added to any client that should allow OAuth.

  • oauth2-authorization-code
  • oauth2-implicit
  • oauth2-password

Here are some screenshots:


01 - Login


02 - Authorize