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 adding withCredentials in header mode

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#

We could skip adding withCredentials in case of header based auth.

Considered Options#

  • Skip
  • Keep the default

Decision Outcome#

We are keeping the default, since we can't always reliably detect if a session exists (Safari after 7 days), so this is to make sure migration works.

Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI