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

Social login #26

Closed
boblennes opened this issue Sep 8, 2018 · 3 comments
Closed

Social login #26

boblennes opened this issue Sep 8, 2018 · 3 comments

Comments

@boblennes
Copy link

Lonnie,
You may want to consider using https://github.com/socialite-manager/socialite instead of hybridauth. It's based off the Laravel component of the same name, and seems to be pretty robust.
Btw, just curious, how does myth-auth compare against php-auth or others?

Core Providers
twitter
github
google
facebook
bitbucket
linkedin

Other Providers
Instagram
Line
VKontakte
Weixin
QQ
Weibo
Twitch
Slack
Discord
Dropbox
Yahoo
Spotify
GitLab
Yandex
Add more...

@lonnieezell
Copy link
Owner

lonnieezell commented Sep 8, 2018 via email

@boblennes
Copy link
Author

boblennes commented Sep 8, 2018

I can't say I've done an exhaustive comparison, in fact I only recently stumbled upon socialite. But I've used HybridAuth 2.9 in the past and had some trouble with it, despite all the people that seem to use / work on/with it. Now there is a 3.0 version, and it is documented (both seem to be documented pretty well), but of note, several issues still linger with it that do not seem to get fixed/answered in a reasonable amount of time - but in Hybridauth 3.0's defense, it does not claim to be production grade yet.

Socialite is (at least seems to be) production grade. Looking under the hood, it is leveraging guzzle instead of curl. For oauth1 it uses league/oauth1-client. Socialite is PSR-7 compliant. However, major disclaimer. I haven't tried using Socialite yet, but stay tuned, I might give it a go if time allows. Looking at the code between the two, much is similar. Hybridauth runs in php 5.x and 7. Socialite is php 7.x only.

List for Hybridauth: https://hybridauth.github.io/providers.html
List for Socialite: https://socialiteproviders.github.io/about.html

Hope that helps.

Thanks,
Bob

@lonnieezell
Copy link
Owner

Yeah, I've ran into issues with HybridAuth in the past, so I'll definitely give socialite a look.

To be fair, though, it using Guzzle and PSR-7 only means it duplicates much of the HTTP layer of already built into CI4, so isn't necessarily a direct selling point lol.

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

No branches or pull requests

2 participants