Next.js: Add Fauna Auth Example

Created on 22 Nov 2019  Â·  5Comments  Â·  Source: vercel/next.js

Add Fauna Authentication Example

Love the new with-graphql-faunadb example. I was able to add an Auth0 login to it from your other example, but would love to see an example of how to use FaunaDB User Authentication with next.js, if possible. Having an example of an integrated graphql solution for data and auth that doesn’t require a page redirect would be 💯 !

What do you say @lfades @fauna-brecht ?

good first issue

Most helpful comment

hey thanks, @waptik. Take a look at the example that got merged https://github.com/zeit/next.js/tree/canary/examples/with-cookie-auth-fauna

All 5 comments

Yes, that sounds definitely like a good idea!
We will look into that, thanks for the suggestion

I have code in a project that can serve as an example that does exactly this. It's using Python tho, but shouldn't be a problem to refactor it to Node.

I can work in a pull request if @fauna-brecht isn't too close to do it.

At the moment my list is indeed still full with other things :/. Would be
great to have such an example.

On Wed, Dec 4, 2019, 18:33 Juan Olvera notifications@github.com wrote:

I have code in a project that can serve as an example that does exactly
this. It's using Python, tho, but shouldn't be a problem to refactor it
with Node.

I can work in a PR if @fauna-brecht https://github.com/fauna-brecht
isn't too close to do it.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next.js/issues/9501?email_source=notifications&email_token=ANPL4RJ7SLTXQAVQNRCPQJLQW7SU5A5CNFSM4JQVSLRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF53TOQ#issuecomment-561756602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANPL4RM5PRDOO2RVXK5KPUDQW7SU5ANCNFSM4JQVSLRA
.

I have code in a project that can serve as an example that does exactly this. It's using Python tho, but shouldn't be a problem to refactor it to Node.

I can work in a pull request if @fauna-brecht isn't too close to do it.

I saw the repo earlier this week. It looks great.
Any news about the node version of the API?

hey thanks, @waptik. Take a look at the example that got merged https://github.com/zeit/next.js/tree/canary/examples/with-cookie-auth-fauna

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenji4569 picture kenji4569  Â·  3Comments

swrdfish picture swrdfish  Â·  3Comments

wagerfield picture wagerfield  Â·  3Comments

rauchg picture rauchg  Â·  3Comments

irrigator picture irrigator  Â·  3Comments