Commit graph

9 commits

Author SHA1 Message Date
Rishabh Poddar
60748e3aef
Updates supertokens-node dependency version (#28916)
We update the dependency version to v7.0.0 and make a few code changes to work with the new version
2021-09-09 13:33:50 +00:00
JJ Kasper
5544adc481
Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00
Rishabh Poddar
08f06e7a0d
Update SuperTokens dependency version in with-supertokens example (#27110)
- Updates supertokens-auth-react to v0.15.0
- In the supertokens example, handles 401 session expired automatically (via the lib).
2021-07-12 14:54:13 +00:00
Rishabh Poddar
8fe30fe49e
Updates SuperTokens dependency version (#25102)
It's a change to the package.json file to update the supertokens-auth-react version. The changes in this version are:
- How supertokens session works in the context of an iframe
- Dependencies of supertokens-auth-react now use a `^`

--------
One more change is to do with how the redirection works in the demo app in case of session expiry or if a user clicks on signout.
2021-05-13 14:50:40 +00:00
Rishabh Poddar
41efb824f2
Docs update: Adds supertokens to 'Bring Your Own Database' section as well + improvements to code structure in example (#23779)
- Since SuperTokens is a self hosted solution, it can be added to 'Bring Your Own Database' as well (in https://nextjs.org/docs/authentication#supertokens)
- Improvements to code structure in the with-supertokens example
2021-04-20 17:23:32 +00:00
Rishabh Poddar
f7d0bd115c
Update to with-supertokens example (#23728)
- Updated dependency version
- Optimises for serverless execution by taking advantage of `/tmp` folder (enabled via a config setting)
2021-04-06 12:45:09 +00:00
NkxxkN
f00f4bd912
Examples bump supertokens (#22764)
Hey team!
We are updating the `with-supertokens` example to reflect the use of credentials alongside third party login

See: 
![image](https://user-images.githubusercontent.com/5072452/109943811-dd714b80-7cd5-11eb-91b5-5a966a1c1e2d.png)

This PR bumps the versions and add a base example implementation.
2021-03-04 14:18:19 +00:00
NkxxkN
293c243ab7
add-supertokens-to-authentication.md (#22223)
Hey team. This PR is a follow up on https://github.com/vercel/next.js/pull/21384 to add a reference to `with-supertokens` example to authentication doc.
2021-03-01 15:53:17 +00:00
Rishabh Poddar
f6e2b06cdf
Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00