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

Node SDK for SuperTokens core

Results 117 supertokens-node issues
Sort by recently updated
recently updated
newest added

### Issue There is an edge case where changing the cookieDomain config on the server can lead to session integrity issues. For instance, if the API server URL is 'api.example.com'...

add the exports in package.json to support esm import for js and ts ## Summary of change This pull request addresses issue [#783](https://github.com/supertokens/supertokens-node/issues/783) by adding [subpath patterns](https://nodejs.org/api/packages.html#subpath-patterns) exports to the...

## Summary of change (A few sentences about this PR) ## Related issues - Link to issue1 here - Link to issue1 here ## Test Plan (Write your test plan...

## Related issues - https://github.com/supertokens/supertokens-node/issues/815 ## Test Plan - [x] Changes to test to use separate recipes in all tests that had them as combination. ## Checklist for important updates...

## Summary of issue We do not really need the combination recipes per say since we now have account linking related functions. This also makes dev experience better overall since...

## The Problem Currently, `supertokens-node` does not (conveniently) support ESM `import`s because it is written in CJS. As #459 points out, this means that imports such as ```js import Session...

## Summary of change Refactor the code of normaliseUrlDomainOrThrowError to accept schemes other than http://, https://, supertokens:// (A few sentences about this PR) ## Test Plan (Write your test plan...

## Summary of change Add Multitenancy APIs dashboard APIs for: - Fetching a tenant's info - Deleting a tenant - Listing all tenants with their user counts - Creating or...

Hi, I have a NextJS application that calls an API (a NodeJS server) for its data. The API implements the server-side SuperTokens SDK. The NextJS application only implements the client-side...

``` node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:362 const err = new ERR_UNSUPPORTED_DIR_IMPORT(path, fileURLToPath(base)); /node_modules/supertokens-node/recipe/session CustomError: ERR_UNSUPPORTED_DIR_IMPORT ``` `pnpm ts-node --esm --swc --transpile-only ./index.ts` ❯ node -v v18.12.1 "ts-node": "^10.9.1", TypeScript 4.9.4