important
This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
Default to header based auth if not specified by the FE
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
 - Last updated:
 - 2022-11-22
 
Context and Problem Statement#
We have to decide which auth mode to use if it's not specified by the FE during session creation.
Considered Options#
- Header
 - Cookie
 - Cookie if rid is present, header otherwise
 
Decision Outcome#
Header