Bump omniauth from 1.8.1 to 2.1.2 in /backend
Bumps omniauth from 1.8.1 to 2.1.2.
Release notes
Sourced from omniauth's releases.
v2.1.0
This release adds Ruby 3.0+ support.
Due to kwarg changes in ruby 3, we have bumped the minimum required version of Rack to 2.2.3, which is where ruby3 support was added.
Releasing as a minor as dependency resolution should fail at install if an application is locked to a rack below new minimum.
Full Changelog: https://github.com/omniauth/omniauth/compare/v2.0.4...v2.1.0
v2.0.4
This release removes unnecessary warning logging when accessing GET routes that are not related to the OmniAuth request path.
Thanks to
@charlie-waspand@sponomarevat Evil Martians for the bug find and subsequent PR.Fix rescuing of application errors when call_app! is used.
As a consequence of the changes that were merged in #689, errors thrown by strategies that utilize other_phase (or more specifically call_app!), would be caught by omniauth, causing headaches for folks looking to have those errors handled by their application. This should allow for errors that come from the app to pass through, while passing errors that come from the authentication phases to the fail! handler.
Resolves #1030
Fix for incorrect order of request_validation_phase in test_mode.
@jsdaltongave an awesome report of the issue present in test_mode in #1033The current implementation of mock_call was verifying the token for all requests, regardless of whether the current path is on the omniauth request path. The change was introduced recently in 1b784ff. See #1032 for details.
This creates two problems:
- When test mode is on, the authenticity verification logic is run inappropriately against requests where this may not even be wanted.
- The behavior varies from actual production behavior, potentially allowing bugs to be introduced by unwary developers.
Note that this bug was only present when OmniAuth was configured for test_mode and using the mock_call phases.
Allow passing rack-protection configuration to default request_validation_phase
This release now properly allows an instance of OmniAuth::AuthenticityTokenProtection (with passed in rack-protection configuration) to be used as the request_validation_phase.
If you haven't already read the release notes for v2.0.0, you should do so.
v2.0.0
Version 2.0 of OmniAuth includes some changes that may be breaking depending on how you use OmniAuth in your app.
Many thanks to the folks who contributed in code and discussion for these changes.
OmniAuth now defaults to only POST as the allowed request_phase method.
Hopefully, you were already doing this as a result of the warnings due to CVE-2015-9284.
... (truncated)
Commits
36f46c4Prep for next releasea13cd11Merge pull request #1122 from nschonni/jruby-hacka0b31ecfix: conditional delegate require Rack/JRuby79d0c9aMerge pull request #1118 from nschonni/remove-old-conditionsc160e48Merge pull request #1102 from madogiwa0124/update-tesed-ruby-versionsb6cc0ccchore: Remove conditions for old (J)Rubyc6e01a6Merge pull request #1110 from nschonni/dependabot-setup4e9563fci: update coverals to v2fa2674cci: update actions/checkout to v3d050031chore: add Dependabot for version updates- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.