A Google one-tap sign-up Component for React
yarn add react-google-onetap
How to use
There're some steps to take to create your custom map components.
- In order to initialize the
MyComponentwith the credential, you'll need to wrap it with [
- In order to correctly load
- Notice there're some required props for withCredential and withScriptjs HOC.
const MyComponent =<MyComponentsupportedAuthMethods='''googleyolo://id-and-password'supportedIdTokenProviders=uri: ''clientId: 'YOUR_GOOGLE_CLIENT_ID'/>