lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
9.18k stars 466 forks source link

[Docs]: OAuth docs #1586

Closed Qodestackr closed 4 months ago

Qodestackr commented 4 months ago

Description

How do I know or get examples of multiple providers? I need one for Google.

pilcrowOnPaper commented 4 months ago

Just replace the GitHub code with the Google one

They're all pretty much identical https://arctic.js.org/providers/google

Qodestackr commented 4 months ago

Sure closed, loving it after migrating from next-auth.

pilcrowOnPaper commented 4 months ago

More specifically, you just need to store the code verifier

https://lucia-auth.com/guides/oauth/pkce