Hi @ShehabSN Excited you’re trying out Redwood! Things are still (very) early here, so we don’t have an official auth package yet. But auth is in progress, and you can expect integration from Redwood directly in the months ahead.
In the meantime, I have some ideas for you, although I have no experience setting up Google Auth for a React application. (Note: Redwood is effectively 2 primary components 1) a GraphQL API using Apollo and 2) a React front-end with some special sauce
). Looking for examples of integrating Google Auth with React and/or GraphQL, here are some examples I found that seemed of interest:
- Use Auth0 with Google Auth: https://auth0.com/authenticate/react/google/
- Adding google sign-in to your web app — a react example: https://codeburst.io/adding-google-sign-in-to-your-webapp-a-react-example-dcec8c73cb9f
- NPM Package for React: https://www.npmjs.com/package/react-google-login
Lastly, here’s an example posted on our forum about setting up Redwood with a different auth provider, Firebase: How to: Authentication with RedwoodJS
Does anyone else have some recommended next steps or examples to help here?