# omniauth-google-oauth2

Oauth2 strategy for Google

Canonical page: https://www.reposhelf.co.uk/projects/github/zquestz/omniauth-google-oauth2.html

- Project ID: zquestz/omniauth-google-oauth2
- Source: GitHub
- Original project: https://github.com/zquestz/omniauth-google-oauth2
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: No licence detected
- Repository availability checked: 2026-11-03T23:44:27.742Z
- Demo page loaded: 2026-11-20T17:55:19.122Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Strategy to authenticate with Google via OAuth2 in OmniAuth.

> Get your API key at: Note the Client ID and the Client Secret.



## Author-documented requirements and audience

> Strategy to authenticate with Google via OAuth2 in OmniAuth.



- Account — Optional: hd: \(Optional\) Limit sign-in to a particular Google Apps hosted domain.
- Account — Required: Passing this hint suppresses the account chooser and either pre-fill the email box on the sign-in form, or select the proper session \(if the user is using multiple sign-in\), which can help you avoid problems that occur if your app logs in the wrong user account.
- External API key — Required: It must also describe the same user as the access token, established either through its athash claim or by matching the userinfo subject.
- External API key — Required: An ID token kept from an earlier sign-in will usually have expired by then, so send the one Google issued alongside the access token you are posting.

Not recorded: Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/zquestz/omniauth-google-oauth2/blob/master/README.md

Extraction checked: 2026-10-20T07:18:10.385Z

Last recorded source update: 2026-08-31T23:49:04.000Z

Saved release: v1.2.3 — 2026-08-31T23:49:42.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=zquestz%2Fomniauth-google-oauth2). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
