If SuperTokens Core is being hosted locally, is there a way to enforce that calls to it can only com...
i
If SuperTokens Core is being hosted locally, is there a way to enforce that calls to it can only come from
localhost
? (That is, only the local web app can make calls to it and no one else.) I know we have the API keys. But theoretically, enforcing that only
localhost
is allowed would add additional safety, right? 🤔
r
Hey!
You can do it if you put an nginx reverse proxy in front of the supertokens core
And then enforce that rule via nginx
But we can also add this as a feature on the core. Please do open an issue about it and we can make it happen 🙂
i
Okay awesome! I'll open an issue some time soon then. Ideally my app won't be using
nginx
. 😅 Thank you!
r
Cool!
r
Thank you.
hey @ITEnthusiasm this has been implemented!
i
Awesome! Thanks a ton! 😄
r
lmk if you run into issues with it
3 Views