Skip to main content
important

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

Issue non-JWT access tokens for requests with old CDI versions

Status

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

Status:
proposed
Deciders:
rishabhpoddar, porcellus
Proposed by:
porcellus
Created:
2022-12-06

Context and Problem Statement#

Since our access token structure will change drastically, the backend SDKs will need to be updated to match.

Considered Options#

  • Drop support for older CDIs.
  • Issue old access tokens for requests with older CDIs

Decision Outcome#

We should issue old access tokens for requests with older CDIs:

  • Requiring a simultanious upgrade of multiple components (core + BE SDK in this case) should be avoided if possible.
  • Backend SDKs can support both versions, but this can provide an easier upgrade path.
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI