Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump omniauth from 1.9.1 to 2.1.1 #4091

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2023

Bumps omniauth from 1.9.1 to 2.1.1.

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: omniauth/omniauth@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-wasp and @​sponomarev at 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.

@​jsdalton gave an awesome report of the issue present in test_mode in #1033

The 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:

  1. When test mode is on, the authenticity verification logic is run inappropriately against requests where this may not even be wanted.
  2. 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.

Thanks @​jkowens #1027

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
  • d2fd0fc v2.1.1 release
  • f66dd2d Merge pull request #1092 from shreyakurian02/fix_nil_error_in_callback_path
  • dece21b Fixed nil error in callback_path
  • 7d90ba2 Update SECURITY.md
  • 66110da Merge pull request #1070 from HoneyryderChuck/patch-1
  • 7413f4f Added docs showing how to integrate omniauth with rack_csrf
  • f35c0bb Fix badges
  • 1df974b Merge pull request #1065 from omniauth/new-CI-workflows
  • 56b369f Update badges
  • dce31d7 Separate jruby and truffle ruby workflows
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 4 times, most recently from 14687a6 to 90ef249 Compare January 30, 2023 17:00
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 5 times, most recently from 6916503 to 4c3f10a Compare February 28, 2023 05:10
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 7 times, most recently from cace650 to 51b355d Compare March 7, 2023 06:20
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 2 times, most recently from 9c99657 to 9c1d8e8 Compare March 9, 2023 20:47
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 7 times, most recently from c9cac5a to bf984b4 Compare March 21, 2023 22:28
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch 2 times, most recently from 1f8cd85 to 623ed63 Compare March 31, 2023 18:28
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch from 623ed63 to 86cc7ee Compare April 10, 2023 15:27
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch from 86cc7ee to 945e097 Compare April 10, 2023 16:07
Bumps [omniauth](https://github.com/omniauth/omniauth) from 1.9.1 to 2.1.1.
- [Release notes](https://github.com/omniauth/omniauth/releases)
- [Commits](omniauth/omniauth@v1.9.1...v2.1.1)

---
updated-dependencies:
- dependency-name: omniauth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/omniauth-2.1.1 branch from 945e097 to 2f95258 Compare April 10, 2023 16:18
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 19, 2024

Superseded by #4286.

@dependabot dependabot bot closed this Feb 19, 2024
@dependabot dependabot bot deleted the dependabot/bundler/omniauth-2.1.1 branch February 19, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants