supertokens-core icon indicating copy to clipboard operation
supertokens-core copied to clipboard

`Host`s Whitelist

Open ITenthusiasm opened this issue 2 years ago • 0 comments

🚀 Feature

It would be really awesome if SuperTokens Core supported a whitelist for hosts that could interact with it.

Example: Someone has a standalone Web App that hosts everything -- including their databases, SuperTokens Core, etc. It would be helpful for security reasons if we could tell SuperTokens Core to accept requests only from localhost. :smile:

Implementation Details

Perhaps something like an allowed_hosts option could be added to the config.yaml file? :thinking: :thought_balloon:

ITenthusiasm avatar Sep 20 '22 17:09 ITenthusiasm