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.

Provide support for header based auth

Status:
accepted
Deciders:
rishabhpoddar, porcellus
Proposed by:
porcellus
Created:
2022-10-25

Context and Problem Statement#

There are a few circumstances where apps would want to use headers to authenticate or access the token on the client side.

Considered Options#

  • Integrated implementation
  • Guide

Decision Outcome#

We provide our own implementation since this seems to be a fairly common use-case and implementing this outside the SDK can get complicated.

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