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

Update TwitchClient configuration #309

Merged
merged 1 commit into from
May 25, 2021

Conversation

chypriote
Copy link
Contributor

The tpavlek/oauth2-twitch provider returns a TwitchUser entity.

@weaverryan
Copy link
Member

Thanks @chypriote! What's odd is that their TwitchUser is supposed to implement that ResourceOwnerInterface - you can see it in the main library here: https://github.com/thephpleague/oauth2-client/blob/master/src/Provider/AbstractProvider.php#L763 - but to be accurate to how the library actually works, you're totally correct.

@weaverryan weaverryan merged commit 6457f67 into knpuniversity:master May 25, 2021
@chypriote
Copy link
Contributor Author

chypriote commented May 25, 2021

Yeah, the current implementation is lacking the ResourceOwnerInterface. I actually started working on an updated fork which both implements the interface and also uses the new Twitch api (helix). Let me know if you wish for me to open a PR for this, as the previous client doesn't seem to be getting any updates.

@chypriote chypriote deleted the patch-1 branch July 11, 2021 11:55
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