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

Add tenantId to `origin` input parameters in app info

Open nkshah2 opened this issue 2 years ago • 1 comments

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 avatar Oct 25 '23 07:10 nkshah2

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

nkshah2 avatar Oct 25 '23 07:10 nkshah2