Skip to main content

This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.

Add support for OAuth2


This is just a proposal so far, it hasn't been accepted and needs further discussion.

rishabhpoddar, porcellus
Proposed by:

Context and Problem Statement#

We've received many requests to add support for OAuth2

Considered Options#

  • Add OAuth2 support to our the SDKs
  • Become an OAuth2 provider

Decision Outcome#

Chosen option: Add OAuth2 support to our the SDKs, because

  • It fits into our model

Pros and Cons of the Options#

Add OAuth2 support to our the SDKs#

  • Fits into our model
  • Can be used to later implement the other option (if necessary)
  • Less common solution
  • Become an OAuth2 Provider#

  • Used by other providers
  • Doesn't fit into our model
  • Well covered by our competition - it'd be very hard to compete with estabilished products
  • Looking for older versions of the documentation?
    Which UI do you use?
    Custom UI
    Pre built UI