supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
293 stars 79 forks source link

Add tenantId to `origin` input parameters in app info #731

Open nkshah2 opened 11 months ago

nkshah2 commented 11 months ago

Currently when using origin as a function in SuperTokens.init, the base request and user context are passed in the input.

The function should also receive the tenant id in the input.

nkshah2 commented 11 months ago

For anybody following this issue, this has been put on hold for now. We do not see enough value being created by this change but there can be added confusion introduced because of it.

If enough people want this to be implemented we will revisit it in the future. Relevant changes for this have been pushed to this branch: https://github.com/supertokens/supertokens-node/tree/app-info-tenant-id