chore(deps): update dependency omniauth-google-oauth2 to v1.2.3 #9
No reviewers
Labels
No labels
auto-merge
bug
chore
dependency
duplicate
enhancement
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hobbypunk/rails-base_app!9
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/omniauth-google-oauth2-1.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.2.2→1.2.3Release Notes
zquestz/omniauth-google-oauth2 (omniauth-google-oauth2)
v1.2.3Compare Source
Security
access_tokencallback was previously decoded without checking its signature, soextra.id_infoandextra.id_tokencould be populated from a forged token.uidandinfowere never affected, as they come from the userinfo endpoint. A caller-supplied ID token genuinely issued by Google for the same user and a trusted client continues to be accepted after verification.subagainst the userinfo subject. A verified signature only proves Google issued the token, not that it belongs to the person the access token identifies, so without this a genuine ID token for one user could be paired with an access token for another and leaveuidandextra.id_infodescribing different people. Theat_hashclaim is checked first as a fast path, and this subject check settles the casesat_hashcannot: tokens that omit the claim, and tokens whoseat_hashis stale because the client refreshed its access token after sign-in. This check runs even whenskip_infois set, as that option trims the auth hash rather than waiving verification.Added
reset_jwks_cache!for clearing the cached Google signing keys between tests.cached_jwks, the class-level fetch-and-cache primitive behind it, which takes the fetch itself as a block.JWKS_URL,JWKS_CACHE_TTL, andJWKS_RETRY_INTERVALconstants, and aJwksUnavailableerror.< 4on thejwtdependency. This is precautionary rather than a response to a released version: it keeps a future major release from being picked up before it has been verified against this strategy.Deprecated
Removed
extra.id_tokenwhen no ID token was present.extra.id_tokenis now absent in that case rather than holding a value that was never an ID token. This was only reachable withskip_jwtset; without it the fallback raised instead.Fixed
refresh_tokenand token expiry in particular cannot be verified, so they are no longer carried through.NoMethodErrororTypeErrorthat OmniAuth turned into a failure whose message was the raw Ruby error, so applications received an unstablemessageparameter such asundefined method 'expired?'instead ofinvalid_credentials.keysarray, rather than passing it on to be interpreted as some other kind of key.JWKS_RETRY_INTERVAL.jwt_leewaynow also applies when verifying caller-supplied ID tokens, matching how it already behaved for theextrablock.authorized_client_ids, matching the audiences already accepted for access tokens.extra, so each ID token is decoded and validated only once per request.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
6fd70e20bff81e5a1b32📊 Coverage
Patch-Coverage: keine getrackten Zeilen geändert
Schwächste Dateien im Projekt
🔍 Report im Browser ansehen · 📄 Run-Artifact „coverage-report“
70e47c0120f2bb5a7d62