Skip to content

Conversation

@j05h
Copy link
Contributor

@j05h j05h commented Sep 14, 2023

Adds support for Ruby 3.2 and upgrades omniauth and oauth2 gems.
Adds CircleCI builds

Upgrade omniauth and oauth2 gems.
@j05h j05h self-assigned this Sep 14, 2023
@j05h j05h requested a review from a team September 14, 2023 19:28
# removed in 1.4.0: https://github.com/intridea/omniauth-oauth2/pull/70
def callback_url
full_host + script_name + callback_path
full_host + callback_path
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

script_name is part of callback_path and so its redundant to have here.

Comment on lines +33 to +34
authorize_url: 'oauth2/authorize',
token_url: 'oauth2/token'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the default values in later versions of OmniAuth.

Comment on lines +33 to +34
authorize_url: 'oauth2/authorize',
token_url: 'oauth2/token'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't this be a breaking change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be. This is the same change done in the upstream gem. I do think we need a PoL before merge though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants