Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the Session recipeModule #8

Closed
rishabhpoddar opened this issue Oct 15, 2020 · 1 comment
Closed

Implement the Session recipeModule #8

rishabhpoddar opened this issue Oct 15, 2020 · 1 comment
Assignees

Comments

@rishabhpoddar
Copy link
Member

rishabhpoddar commented Oct 15, 2020

  • import Session from "supertokens-auth-react/recipe/session"
  • Is a wrapper around supertokens/supertokens-website. Therefore, this provides all the functions that supertokens-website provides.
  • Must follow its respective part from the new FDI (v1.3.0)
  • The init function
@rishabhpoddar rishabhpoddar changed the title Implement the Session Module Implement the Session recipeModule Oct 15, 2020
@rishabhpoddar
Copy link
Member Author

rishabhpoddar commented Oct 16, 2020

The init function for this Recipe:

{
   sessionScope?: string,
   refreshAPICustomHeaders?: {...},
   sessionExpiredStatusCode?: number,
   autoAddCredentials?: boolean
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants