
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
sheetgo-react-google-one-tap-sign-in
Advanced tools
Sheetgo forking of React wrapper for google one tap authentication
Sheetgo forking of React wrapper for google one tap authentication by Muhammad Salman Tariq
npm install react-google-one-tap-login
OR
yarn add react-google-one-tap-login
import { useGoogleOneTapLogin } from 'react-google-one-tap-login';
useGoogleOneTapLogin({
onError: error => console.log(error),
onSuccess: response => console.log(response),
googleAccountConfigs: {
client_id: // Your google client id here !!!
},
});
import React from 'react';
import ReactDOM from 'react-dom';
import GoogleOneTapLogin from 'react-google-one-tap-login';
ReactDOM.render(
<GoogleOneTapLogin onError={(error) => console.log(error} onSuccess={(response) => console.log(response} googleAccountConfigs={{ client_id: // Your google client id here !!! }} />,
document.getElementById('root')
);
Name | Type | Required | Description |
---|---|---|---|
disabled | boolean | false | Disable the login prompt |
onError | callback | false | onError : Error |
onSuccess | callback | false | onSuccess : GoogleEndpointResponse (See below) |
googleAccountConfigs | object | true | Google One Tap JS API Reference |
Name | Type |
---|---|
iss | string |
sup | string |
azp | string |
aud | string |
iat | string |
exp | string |
name | string |
string | |
local | string |
picture | string |
given_name | string |
family_name | string |
email_verified | string |
FAQs
Sheetgo forking of React wrapper for google one tap authentication
The npm package sheetgo-react-google-one-tap-sign-in receives a total of 23 weekly downloads. As such, sheetgo-react-google-one-tap-sign-in popularity was classified as not popular.
We found that sheetgo-react-google-one-tap-sign-in demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.