You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off - really appreciate the package. I'm a solo data engineer hoping to move an internal company chat-interface to a more flexible frontend, and this seems like the most actively developed OSS.
I'm fine with all dependencies, but have really struggled how to easily integrate Google Oauth by simply adding the provider with NextAuth - I'm pretty new to Typescript and for some reason this has proven more difficult than Supabase or Clerk.
Would it be possible to add a brief page to docs/ that depicts how to add Oauth and optionally remove other login/registration functionality.
By doing this, it would provide a simple 1-click deploy starting point for internal company chat applications that place all authentication on Google (and domain restrictions if provided).
The text was updated successfully, but these errors were encountered:
JerePlum99
changed the title
Docs: Add demo to add Oauth support for Google
Docs: Add demo for adding OAuth support from Google
Feb 19, 2025
I haven't raised a PR on this repo yet, because I haven't had the time to tidy it up. I picked up some of this code from here: #717, which was closed last month.
Just replace the github provider with google and set your redirects as expected and it should work fine. You may need to re-create your db schema, since sso providers don't provide a password.
First off - really appreciate the package. I'm a solo data engineer hoping to move an internal company chat-interface to a more flexible frontend, and this seems like the most actively developed OSS.
I'm fine with all dependencies, but have really struggled how to easily integrate Google Oauth by simply adding the provider with NextAuth - I'm pretty new to Typescript and for some reason this has proven more difficult than Supabase or Clerk.
Would it be possible to add a brief page to
docs/
that depicts how to add Oauth and optionally remove other login/registration functionality.By doing this, it would provide a simple 1-click deploy starting point for internal company chat applications that place all authentication on Google (and domain restrictions if provided).
The text was updated successfully, but these errors were encountered: