Closed sasha240100 closed 5 months ago
Name | Link |
---|---|
Latest commit | 7de5b21f5742daf144928ef3cc8b7844a818a6f2 |
Latest deploy log | https://app.netlify.com/sites/astounding-pegasus-21c111/deploys/65b388046570070008f245d4 |
Name | Link |
---|---|
Latest commit | 7de5b21f5742daf144928ef3cc8b7844a818a6f2 |
Latest deploy log | https://app.netlify.com/sites/precious-marshmallow-968a81/deploys/65b388040816a70008aa421e |
Summary of change
Adds
getInitialSessionAuthContext
to support computing initialSessionAuth
context (to be used withinitialSessionAuthContext
property from https://github.com/supertokens/supertokens-auth-react/pull/789)Related issues
Test Plan
Tested locally on a NextJS implementation using supertokens.
getInitialSessionAuthContext(session)
creates an SSR session context that works like expected when passed intoinitialSessionAuthContext={}
of<SessionAuth />
component. Also covered by unit testsDocumentation changes
TODO.
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.json
file has been updated (if needed)lib/ts/version.ts
frontendDriverInterfaceSupported.json
file has been updated (if needed)package.json
package-lock.json
lib/ts/version.ts
npm run build-pretty
recipe/thirdparty/providers/configUtils.ts
file,createProvider
function.git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.add-ts-no-check.js
file to include thatsomeFunc: function () {..}
).Remaining TODOs for this PR