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.

Keep front-token in header mode auth

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-10-25

Context and Problem Statement#

The front-token can be removed in the case of a header based auth, since the information can be parsed from the access token as well

Considered Options#

  • Leave as is
  • Remove

Decision Outcome#

Keep, because this way we don't have to handle parsing on the FE and people can just ignore it safely if they prefer.

Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react