You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the sign up / sign in api interfaces create a new session and a new user. Both should be returned.
third party sign up / in also fetch the auth code response so we should return that as well (which we already do).
This is as per a new design principle that we have added.
We should also add a context object to all functions (API, recipe and sending email functions) which can be freely modifed by the user to pass info across the functions.
These should also be added to the user facing function signatures, but should be optional there.
The should also be added to functions like createAndSendCustomEmail etc..
TODO:
nodejs (usercontext-change branch)
add context to social providers
golang
userContext
returning session for sign up / sign in
testing
session class changes
Passing user context to session.revokeSession function in sign out API
add context to social providers
python
userContext
returning session for sign up / sign in
testing
session class changes
Passing user context to session.revokeSession function in sign out API
Expose regenerate session function to the user
add context to social providers
supertokens-website
supertokens-auth-react
supertokens-react-native
Docs
node
golang
python
website
auth react
The text was updated successfully, but these errors were encountered:
rishabhpoddar
changed the title
[Breaking change]: Return everything that is created during an api interface function
[Breaking change]: Return everything that is created during an api interface function & add a context object to all functions
Nov 15, 2021
For example:
This is as per a new design principle that we have added.
We should also add a context object to all functions (API, recipe and sending email functions) which can be freely modifed by the user to pass info across the functions.
These should also be added to the user facing function signatures, but should be optional there.
The should also be added to functions like
createAndSendCustomEmail
etc..TODO:
The text was updated successfully, but these errors were encountered: