Next-Auth Hasura and Next JS #934
Replies: 4 comments 4 replies
-
Hi! I don't know if this would help: https://github.com/arvigeus/react-modern-state/blob/master/src/server/auth.ts |
Beta Was this translation helpful? Give feedback.
-
@rodallanmac You can use Hasura Next.js Boilerplate with a Hasura Postgres GraphQL instance by modifying the correct credentials in the frontend/.env.example file. You need to do that before running the yarn bootstrap command. Also, you can only run the Next.js application. |
Beta Was this translation helpful? Give feedback.
-
In addition to the example project from @ghoshnirmalya there is also a tutorial made by the Hasura folks! https://hasura.io/blog/next-js-jwt-authentication-with-next-auth-and-integration-with-hasura/ which includes an example repo. They have also made a YouTube video showing how to use Hasura with NextAuth.js: https://www.youtube.com/watch?v=Vy0UldnCmrw&feature=emb_title |
Beta Was this translation helpful? Give feedback.
-
I know this is a couple of months late but a big shout out to Praveen for
the excellent integration of Hasura jwt and next-auth. All questions
answered.
…On Sun, 21 Feb 2021 at 19:39, Iain Collins ***@***.***> wrote:
In addition to the example project from @ghoshnirmalya
<https://github.com/ghoshnirmalya> there is also a tutorial made by the
Hasura folks!
https://hasura.io/blog/next-js-jwt-authentication-with-next-auth-and-integration-with-hasura/
which includes an example repo.
They have also made a YouTube video showing how to use Hasura with
NextAuth.js:
https://www.youtube.com/watch?v=Vy0UldnCmrw&feature=emb_title
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABN23T5TARDRZXETWTTGJUDTAFALTANCNFSM4USXOGGA>
.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
HELP
Awesome experience with using NextAuthjs with your favourite auth provider - thank you all.
Does anyone have a repo that can authenticate a local:3000 to a Hasura postgres graphql instance that is running on HEROKU. (ie: not a local hasura instance via a local docker deployment as per @SharadKumar and @ghoshnirmalya)
It seems that Hasura only offers Auth0 and Firebase Auth jwt tokens to be authorised through their custom jwt claims.
Happy to collaborate.
Beta Was this translation helpful? Give feedback.
All reactions