René's URL Explorer Experiment


Title: Bump omniauth from 1.9.1 to 2.0.0 by dependabot[bot] · Pull Request #435 · tip4commit/tip4commit · GitHub

Open Graph Title: Bump omniauth from 1.9.1 to 2.0.0 by dependabot[bot] · Pull Request #435 · tip4commit/tip4commit

X Title: Bump omniauth from 1.9.1 to 2.0.0 by dependabot[bot] · Pull Request #435 · tip4commit/tip4commit

Description: Bumps omniauth from 1.9.1 to 2.0.0. Release notes Sourced from omniauth's releases. 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. For detailed context, see: #960 #809 Resolving CVE-2015-9284 This change also includes an additional configurable phase: request_validation_phase. Rack/Sinatra By default, this uses rack-protection's AuthenticityToken class to validate authenticity tokens. If you are using a rack based framework like sinatra, you can find an example of how to add authenticity tokens to your view here. Rails Because Rails handles its CSRF protection in its RequestForgeryProtection class, and stores tokens in a non-vanilla-rack friendly way, you must pass a rails-friendly validator in instead, similar to what omniauth-rails_csrf_protection does. Update: omniauth-rails_csrf_protection has released v1.0.0, which means if you're using this library already, you should be able to upgrade omniauth to the 2.0 series as long as omniauth-rails_csrf_protection is also upgraded '~> 1.0' An example of creating your own non-dependency implementation is below, though I would recommend using the gem. # Derived from https://github.com/cookpad/omniauth-rails_csrf_protection/blob/master/lib/omniauth/rails_csrf_protection/token_verifier.rb # This specific implementation has been pared down and should not be taken as the most correct way to do this. class TokenVerifier include ActiveSupport::Configurable include ActionController::RequestForgeryProtection def call(env) @​request = ActionDispatch::Request.new(env.dup) raise OmniAuth::AuthenticityError unless verified_request? end private attr_reader :request delegate :params, :session, to: :request end in an initializer OmniAuth.config.request_validation_phase = TokenVerifier.new Example Rails App If you're using Rails' form helpers, they automatically include an authenticity token. If you are using hyperlinks or buttons styled to redirect to your login route, you should update these to be a submit input or a submit type button wrapped in a form. - Login with Developer ... (truncated) Commits 29c8216 Merge pull request #1021 from omniauth/2_0-indev fe26931 Release 2.0.0 8a6b7a6 Merge pull request #1016 from BobbyMcWho/add-to-readme 19b3d34 Add v2.0.0 text 97714aa Tag version 1956a95 Fix deprecation warnings 1b784ff Wrap mock_call in rescue 49ca577 Merge pull request #1015 from omniauth/make-sure-strategy-passes-rack-freeze e405613 Freeze omniauth in test to verify thread safety d4c1ff0 Dup options when a strategy is dup'd or cloned 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 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) @dependabot use these labels will set the current labels as the default for future PRs for this repo and language @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the Security Alerts page. Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Open Graph Description: Bumps omniauth from 1.9.1 to 2.0.0. Release notes Sourced from omniauth's releases. v2.0.0 Version 2.0 of OmniAuth includes some changes that may be breaking depending on how you use OmniAuth...

X Description: Bumps omniauth from 1.9.1 to 2.0.0. Release notes Sourced from omniauth's releases. v2.0.0 Version 2.0 of OmniAuth includes some changes that may be breaking depending on how you use Omni...

Opengraph URL: https://github.com/tip4commit/tip4commit/pull/435

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9a080827-f78d-5ef2-c111-26007830dc14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDFBE:17809B:BAC113:F9D8C8:696B83F7
html-safe-noncec0ab4efb2290beaf4bab3fed36d19565a2bf243e7889618531c2fe53aaed4900
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkJFOjE3ODA5QjpCQUMxMTM6RjlEOEM4OjY5NkI4M0Y3IiwidmlzaXRvcl9pZCI6IjM0MTMyMjE3ODA2MzIwNTM2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace1441e1e0765545e3fe1a2191f879deca5d09078b034253fb440af96afc29e0f
hovercard-subject-tagpull_request:1281631470
github-keyboard-shortcutsrepository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/tip4commit/tip4commit/pull/435/files
twitter:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
og:image:altBumps omniauth from 1.9.1 to 2.0.0. Release notes Sourced from omniauth's releases. v2.0.0 Version 2.0 of OmniAuth includes some changes that may be breaking depending on how you use OmniAuth...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/tip4commit/tip4commit git https://github.com/tip4commit/tip4commit.git
octolytics-dimension-user_id6398353
octolytics-dimension-user_logintip4commit
octolytics-dimension-repository_id15898794
octolytics-dimension-repository_nwotip4commit/tip4commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15898794
octolytics-dimension-repository_network_root_nwotip4commit/tip4commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tip4commit/tip4commit/pull/435/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftip4commit%2Ftip4commit%2Fpull%2F435%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftip4commit%2Ftip4commit%2Fpull%2F435%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=tip4commit%2Ftip4commit
Reloadhttps://github.com/tip4commit/tip4commit/pull/435/files
Reloadhttps://github.com/tip4commit/tip4commit/pull/435/files
Reloadhttps://github.com/tip4commit/tip4commit/pull/435/files
tip4commit https://github.com/tip4commit
tip4commithttps://github.com/tip4commit/tip4commit
Notifications https://github.com/login?return_to=%2Ftip4commit%2Ftip4commit
Fork 106 https://github.com/login?return_to=%2Ftip4commit%2Ftip4commit
Star 169 https://github.com/login?return_to=%2Ftip4commit%2Ftip4commit
Code https://github.com/tip4commit/tip4commit
Issues 54 https://github.com/tip4commit/tip4commit/issues
Pull requests 8 https://github.com/tip4commit/tip4commit/pulls
Actions https://github.com/tip4commit/tip4commit/actions
Projects 0 https://github.com/tip4commit/tip4commit/projects
Wiki https://github.com/tip4commit/tip4commit/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/tip4commit/tip4commit/security
Please reload this pagehttps://github.com/tip4commit/tip4commit/pull/435/files
Insights https://github.com/tip4commit/tip4commit/pulse
Code https://github.com/tip4commit/tip4commit
Issues https://github.com/tip4commit/tip4commit/issues
Pull requests https://github.com/tip4commit/tip4commit/pulls
Actions https://github.com/tip4commit/tip4commit/actions
Projects https://github.com/tip4commit/tip4commit/projects
Wiki https://github.com/tip4commit/tip4commit/wiki
Security https://github.com/tip4commit/tip4commit/security
Insights https://github.com/tip4commit/tip4commit/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftip4commit%2Ftip4commit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftip4commit%2Ftip4commit%2Fissues%2Fnew%2Fchoose
dependabothttps://github.com/apps/dependabot
masterhttps://github.com/tip4commit/tip4commit/tree/master
dependabot/bundler/omniauth-2.0.0https://github.com/tip4commit/tip4commit/tree/dependabot/bundler/omniauth-2.0.0
Conversation 1 https://github.com/tip4commit/tip4commit/pull/435
Commits 1 https://github.com/tip4commit/tip4commit/pull/435/commits
Checks 0 https://github.com/tip4commit/tip4commit/pull/435/checks
Files changed https://github.com/tip4commit/tip4commit/pull/435/files
Please reload this pagehttps://github.com/tip4commit/tip4commit/pull/435/files
Bump omniauth from 1.9.1 to 2.0.0 https://github.com/tip4commit/tip4commit/pull/435/files#top
Show all changes 1 commit https://github.com/tip4commit/tip4commit/pull/435/files
db1fde2 Bump omniauth from 1.9.1 to 2.0.0 dependabot[bot] Nov 5, 2024 https://github.com/tip4commit/tip4commit/pull/435/commits/db1fde283b068cfdc5dbc110df004d9def8a1c70
Clear filters https://github.com/tip4commit/tip4commit/pull/435/files
Please reload this pagehttps://github.com/tip4commit/tip4commit/pull/435/files
Please reload this pagehttps://github.com/tip4commit/tip4commit/pull/435/files
Gemfile.lockhttps://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
View file https://github.com/tip4commit/tip4commit/blob/db1fde283b068cfdc5dbc110df004d9def8a1c70/Gemfile.lock
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tip4commit/tip4commit/pull/435/{{ revealButtonHref }}
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com/tip4commit/tip4commit/pull/435/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.