important
This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
How to attach the auth mode preference to requests
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 StatementWe have to add the auth method choice (header or cookies) to requests.
#
Considered Options- Reuse the
rid
header - New header
- Cookie
#
Decision OutcomeNew header: st-auth-method
values: header | cookie