NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
Google OAuth2 using Google Identity Services for React 🚀
Latest stable
0.13.5
Last release 7 months ago
08 Apr 2026
Ships unpredictably
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 34 of 35 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
35 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
### Patch Changes - #408 `05be9c4` Thanks @anandhansreekumar! - add login_hint support to GoogleLogin, including types and docs
05be9c4 Thanks @anandhansreekumar! - add login_hint support to GoogleLogin, including types and docs`a30dbbd` Thanks @MomenSherif! - test build
a30dbbd Thanks @MomenSherif! - test buildYour coding agent can read these notes before it upgrades. Set up the MCP server →
`a54e50e` Thanks @MomenSherif! - fix prerelease script
a54e50e Thanks @MomenSherif! - fix prerelease script`8756cc7` Thanks @MomenSherif! - fix build output
8756cc7 Thanks @MomenSherif! - fix build output### Patch Changes - #370 `38722bb` Thanks @andriiwp3! - fix locale parameter to gsi script
38722bb Thanks @andriiwp3! - fix locale parameter to gsi script### Minor Changes - #398 `2a05d80` Thanks @tadcom0! - Added natively supported state property to GoogleLogin component
### Patch Changes - #387 `85c49bf` Thanks @pierroberto! - Add support for FedCM Button Flow
85c49bf Thanks @pierroberto! - Add support for FedCM Button Flow`d237197` Thanks @MomenSherif! - add use client directive to support nextjs out of the box
d237197 Thanks @MomenSherif! - add use client directive to support nextjs out of the boxadd support for use_fedcm_for_prompt for fedcm migration
9c23c44 Thanks @MomenSherif!
useGoogleOAuth returns { scriptLoadedSuccessfully: boolean; clientId: string }### Patch Changes - #278 `cb2a8ce` Thanks @MomenSherif! - allow width to be string or number for google login button
cb2a8ce Thanks @MomenSherif! - allow width to be string or number for google login button### Minor Changes - #253 `3826f02` Thanks @LivioGama! - add state_cookie_domain to allow multiple subdomains connection
3826f02 Thanks @LivioGama! - add state_cookie_domain to allow multiple subdomains connection### Minor Changes - #249 `2217cc5` Thanks @MomenSherif! - add prompt_parent_id to change the prompt default's position
2217cc5 Thanks @MomenSherif! - add prompt_parent_id to change the prompt default's position### Patch Changes - #236 `a9832bf` Thanks @jcayabyab! - add include_granted_scopes to CodeClientConfig and TokenClientConfig
a9832bf Thanks @jcayabyab! - add include_granted_scopes to CodeClientConfig and TokenClientConfig### Minor Changes - #222 `2364e3f` Thanks @p1yu5h! - Added disabled prop to cancel the one tap login popup
### Patch Changes - #230 `c9238a7` Thanks @danfsd! - Add minor CSP support by accepting "nonce" and propagating it to GSI script & inline style
`1cc9069` Thanks @MomenSherif! - add container props to div button container
1cc9069 Thanks @MomenSherif! - add container props to div button container### Patch Changes - #199 `934e58b` Thanks @abereghici! - Improved definition types. Added missing error_callback function in TokenResponse type"
934e58b Thanks @abereghici! - Improved definition types. Added missing error_callback function in TokenResponse type"Nothing published for this version
### Patch Changes - #193 `cc60a81` Thanks @jimcapel! - Fixed a crash when window.google.accounts.id was undefined
### Minor Changes - #177 `715c4e8` Thanks @MicahRamirez! - Added state as part of the dependency array in useGoogleLogin to allow updates to the state
715c4e8 Thanks @MicahRamirez! - Added state as part of the dependency array in useGoogleLogin to allow updates to the state in redirect mode`7e8b73e` Thanks @MomenSherif! - fix: useGoogleLogin login methods error before js loads
7e8b73e Thanks @MomenSherif! - fix: useGoogleLogin login methods error before js loads### Minor Changes - #150 `41acd39` Thanks @niksauer! - add click_listener for GoogleLogin button
`2b35b38` Thanks @MomenSherif! - Support non ouath error for useGoogleLogin
2b35b38 Thanks @MomenSherif! - Support non ouath error for useGoogleLogin`e956408` Thanks @MomenSherif! - Ability to override default scope
e956408 Thanks @MomenSherif! - Ability to override default scope`8b80b8c` Thanks @MomenSherif! - Makes the client_id change on CredentialResponse in Brazil compatible for the current clientId and removes the verifi
8b80b8c Thanks @MomenSherif! - Makes the client_id change on CredentialResponse in Brazil compatible for the current clientId and removes the verification to trigger onSuccess.`7148dc8` Thanks @MomenSherif! - Update README.md
7148dc8 Thanks @MomenSherif! - Update README.md### Patch Changes - #87 `787ed0` Thanks @MomenSherif! - Export useGoogleLogin option types
787ed0 Thanks @MomenSherif! - Export useGoogleLogin option types787ed02 Thanks @MomenSherif! - Export useGoogleLogin options types### Patch Changes - #28 `34967fa` Thanks @MomenSherif! - docs(readme.md): add playground website
34967fa Thanks @MomenSherif! - docs(readme.md): add playground websiteFix typo in README by @alexbensimon in https://github.com/MomenSherif/react-oauth/pull/22
Full Changelog: https://github.com/MomenSherif/react-oauth/compare/v0.2.4...v0.2.5
fix: add missing GoogleLoginProps 18fa10c
https://github.com/MomenSherif/react-oauth/compare/v0.2.3...v0.2.4
https://github.com/MomenSherif/react-oauth/compare/v0.2.2...v0.2.3
https://github.com/MomenSherif/react-oauth/compare/v0.2.2...v0.2.3
fix: build target old jsx transformation for react >=16.8 support 5febd8f
https://github.com/MomenSherif/react-oauth/compare/v0.2.1...v0.2.2
fix: add missing hosted_domain for personalized button & one tap 4a85f9b
https://github.com/MomenSherif/react-oauth/compare/v0.2.0...v0.2.1
feat: add utils for scope granted access e4fe295
https://github.com/MomenSherif/react-oauth/compare/v0.1.0...v0.2.0
feat: authorization code and implicit flow (custom button) c238373
One column per quarter.