lucia-auth / examples

A collection of example projects built with Lucia
MIT License
171 stars 41 forks source link

Example for google provider with nextjs-app router. #28

Closed raunak42 closed 4 months ago

raunak42 commented 4 months ago

There is no example and no documentation on how to use google oauth with lucia.

I recently integrated lucia auth into my application with google provider, specifically Google from "arctic". I could help out with the examples and the documentation.

Everything from environment variables, setting up prisma orm to setting up scopes and all will be covered.

pilcrowOnPaper commented 4 months ago

I don't see a reason to add a Google example since it's nearly identical GitHub example - just with PKCE.

cthed2 commented 2 months ago

@pilcrowOnPaper Do you mean this documentation https://arctic.js.org/guides/oauth2-pkce?