Questions tagged [hwioauthbundle]

HWIOAuthBundle adds support for authenticating users via OAuth in Symfony2.

HWIOAuthBundle adds support for authenticating users via OAuth (OAuth1.0a or OAuth2) in .

The bundle contains support for 20+ different providers.

Documentation

  • for Symfony ^4.4 & ^5.0: 0.4
256 questions
5
votes
2 answers

"Username could not be found" error when using HWIOAuthBundle with FOSUserBundle

Stumped here. Using HWIOAuthBundle to allow social login with FOSUserBundle on Symfony3. Log in with username and password functions fine, but when authenticating with social logins (in my case, Facebook and LinkedIn), error "Username could not be…
Jacob Manser
  • 122
  • 6
5
votes
1 answer

Connect to gmail using hwi / oauth-bundle

I'm using hwi-oauth bundle to login with accounts of social networks, but I'm having a problem with login to gmail, when I am already connected to the networks, should go straight to the first screen of the system, and this happens when connect the…
Marcius Leandro
  • 775
  • 1
  • 11
  • 34
5
votes
1 answer

HWIOAuthBundle - Symfony2 - Get User Data from Facebook

How i can get the correct User Data from Facebook Connect like a Profile Picture (Currently return null), First Name and Last Name (Seems that now is implent only Full name)?
4
votes
2 answers

Symfony HWIOAuthBundle - How to disbable automatic logout?

I'm using HWIOAuthBundle for users to log in with their social account. And once a user is logged in it's logged out after 30 minutes or so. Any idea how to disable that so they stay logged in forever?
Florin Birgu
  • 495
  • 7
  • 12
4
votes
1 answer

Symfony HWIOAuthBundle get user events and likes from facebook

I'm creating an app using FOSUserBundle and HWIOAuth bundle. The problem is that I cant figure out how to so I get information about the events user attended to or other likes than "favorite_teams". I tried adding user_events to the scope but with…
Einius
  • 1,352
  • 2
  • 20
  • 45
4
votes
2 answers

Connecting to multiple social logins within HWIOauthBundle

I'm trying to arrange being able to login with a social network (initially LinkedIn, but it could be any other, or self-generated from FosUserBundle), and then adding new connections to the same user, via Twitter, FB, Github, etc. The difficulty is…
Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
4
votes
4 answers

HWIOAuthBundle - FOSUserBundle - Symfony 2 - Redirect to custom path after login with facebook

Reflected the following problem after the user login with the Facebook account: that is redirected to the following route /#_=_ How can I redirect it to this route instead: / Or to more to this /# ? On the client side, I use the backbone.
Angelo Giuffredi
  • 923
  • 3
  • 13
  • 26
4
votes
1 answer

FOSOAuthServerBundle + HWIOAuthBundle Timeout after a hour 401

I'm user HWIOAuthBundle (let's call it MyClient) to connect to a Symfony 2.3.2 OAuth 2 server using FOSOAuthServerBundle (let's call it MyServer). I am able to connect and login and do the requests that I need to but I keep getting booted out of…
3
votes
1 answer

Symfony 5: Connect to Azure with HWIOAuthBundle: An authentication exception occurred

I'm trying to connect my Symfony 5 app to Azuse, using the bundle HWIOAuthBundle I have the following message after getting redirected from the microsoft website: "An authentication exception occurred." My securiy.yaml: security: encoders: …
3
votes
0 answers

How to use HWIOAuthBundle with localized sites?

I have a Symfony app available in two locales (fr/en). I used HWIOAuthBundle to connect my users using the GenericOAuth2ResourceOwner. The problem is that when the user is browsing the site in english and connects using Oauth he is then redirected…
unadivadantan
  • 363
  • 4
  • 14
3
votes
1 answer

Integrate FosUserBundle and HWIOAuthBundle

Implementing the installation and documentation in Integrating with FOSUserBundle and following comments and leads from A way to integrate FosUserBundle and HWIOAuthBundle Getting the correct code from Facebook connect API i am able to connect my…
Yamen Nassif
  • 2,416
  • 2
  • 24
  • 48
3
votes
2 answers

Pass parameter HWIOAuthbundle symfony2

I'm trying to pass a GET parameter from my Facebook and Google login button, that I've set up using HWIOAuthbundle. I've looked at this question: To path the parameter to OAuth facebook login by symfony2/HWIOAuthBundle, however I didn't quite…
Mathias Lund
  • 752
  • 1
  • 9
  • 23
3
votes
0 answers

hwioath symfony bundle /login/check-* handler missed

Ok, I'm writing symfony2 + hwioauth + fosuser project. Trying to understand work of hwi bundle. So, when user has authorized to his social account he redirecting to /connect action to my app. So after that by routing it calls HWI connect controller…
3
votes
1 answer

HWIOauth Facebook OAuth token request very slow

I am using the Symfony2 HWIOauthBundle to provide federated sign-on for my website. Over the last week, two service providers (LinkedIn and Facebook) have gotten very slow when my server queries them for an access token. The response from these…
Matt
  • 1,287
  • 2
  • 11
  • 25
3
votes
1 answer

HWIOAuthBundle Symfony2 get user likes from Facebook

In my project I use FOSUserBundle and HWIOAuthBundle for user authentification. integrated HWIOAuthBundle using this tutorial. But additionaly I need to get user likes. I've already added user_likes in a scope and when I try to login facebook says…
Einius
  • 48
  • 6
1
2
3
17 18