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.

Reserve scopes starting with supertokens.

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:
2023-05-11

Context and Problem Statement#

When creating scopes we can choose what to allow and/or reserve for special use

Considered Options#

  • Reserve some scopes
  • Allow all scopes

Decision Outcome#

Chosen option: Reserve some scopes (scopes starting with supertokens.), because

  • It's future-proof
  • Doesn't block any usecase

Pros and Cons of the Options#

Reserve some scopes#

  • Future-proof: If we require them in the future we can be sure noone conflicts with it
  • Shouldn't block any usecase - when setting up, they can just choose a different prefix
  • Added docs (but fairly minimal)
  • Allow all scopes#

  • Very easy to communicate
  • Can create problems if we need to use them ourselves