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

feat: add Webflow provider #395

Merged
merged 3 commits into from
Mar 20, 2023

Conversation

EmilePerron
Copy link
Contributor

@EmilePerron EmilePerron commented Feb 17, 2023

This PR adds an implmentation for the new koalati/oauth2-webflow OAuth 2.0 provider for Webflow.

@EmilePerron
Copy link
Contributor Author

Hi folks at @knpuniversity 👋

Is there anything blocking this PR from being merged in its current state?
If so, do let me know: I'll do any changes necessary to get this merged ASAP :)


public function getProviderClass(array $config)
{
return 'Koalati\OAuth2\Client\Provider\Webflow';
Copy link
Member

Choose a reason for hiding this comment

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

We can use return Webflow::class here too instead of hardcoding this as a string.. but don't forget to use the namespace too :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! :)

Copy link
Member

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

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

Hey, sorry for the delay! This looks good to me, only one minor comment

Copy link
Member

@weaverryan weaverryan left a comment

Choose a reason for hiding this comment

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

Yup - I agree with Victor - just that one change should do it :)

@EmilePerron
Copy link
Contributor Author

Thanks to the both of you - and no worries on the delay, you folks do more than enough!

I just changed the hardcoded string; the PHP 8.1 and 8.2 tests "failed" but the errors in these seemed to be deprecations in other parts of the codebase.

Let me know if there's anything else you need me to do :)

Cheers!

Copy link
Member

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

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

Thank you! It looks good me now

bocharsky-bw added a commit that referenced this pull request Mar 20, 2023
In order to fix the deprecation message in #395
@bocharsky-bw
Copy link
Member

Failed tests are really unrelated to this PR and fixed in #397

@bocharsky-bw bocharsky-bw merged commit 50d6b8e into knpuniversity:master Mar 20, 2023
@EmilePerron EmilePerron deleted the feat-add-webflow branch March 20, 2023 14:52
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.

3 participants