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
0
votes
1 answer

get resource owner name with HWIOAuthBundle

I'm working on a website with the "Sign in with Twitter" and "facebook Connect" things. So far, I can connect with both, but I'm having trouble finding the resource owner's name. I followed danvbe guide to integrate these features Great guide to…
Pierre Olivier Tran
  • 1,669
  • 4
  • 24
  • 40
0
votes
2 answers

Trying to Inject Parameters into Custom OAuthUserProvider

I followed the example here to add HWIOAuthBundle after struggling with the documentation. I get redirected to Google just fine but when it returns I get a warning that the first parameter is missing. config.yml services: …
John the Ripper
  • 2,389
  • 4
  • 35
  • 61
0
votes
0 answers

writing in log of the retrieved data from google api for example

I am trying to make some var_dump() of the variable $attr = $response->getResponse(); that I am getting from google api for example. But I was not able to do that. Is it possible to make it written on the the app/log/dev.log for example? Below…
Amine Jallouli
  • 3,919
  • 8
  • 36
  • 73
0
votes
1 answer

getNickname() returns null even for a found facebook user

I am trying to implement the method public function loadUserByOAuthUserResponse(UserResponseInterface $response) in HWIOAuthBundle. When a user logs in which his facebook account, I noticed that getNickname() returns always null even it is specified…
Amine Jallouli
  • 3,919
  • 8
  • 36
  • 73
0
votes
1 answer

symfony2 HWIOAUTHBUNDLE configuration

I am working on social networks login/registration for my application. I have used HWIOAUTHBUNDLE. It was working fine for my development server but I have uploaded my code to my live server it gives me following error : Unable to find the…
Muhammad Umair
  • 393
  • 1
  • 7
  • 20
0
votes
0 answers

Symfony2.3 - trying to add google authentication with HWIOAuthBundle

For the user login I'm trying to add google authentication. I configured HWIOAuthBundle as their documentation. Everything smoothly configured and running. After google authentication prompt /connect/google, it redirects to the following URL (blank…
Mirlo
  • 625
  • 9
  • 26
0
votes
1 answer

override ResourceOwner class for Wordpress

I went to override WordpressResourceOwner into HWIOAuthBundle as it didn`t return user information response I notice that every ResourceOwner work as Service and declared into oauth.xml
ahmed hamdy
  • 5,096
  • 1
  • 47
  • 58
0
votes
1 answer

How to access config.yml parameters in OAuthAwareUserProviderInterface

We are using HWIOAuhtBundle for authentication so have a such user provider interface: class OAuthUserProvider implements UserProviderInterface , OAuthAwareUserProviderInterface { ... public function…
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
0
votes
1 answer

Twig file facebook in HWIOAuthBundle

I am new with hwi / HWIOAuthBundle with symfony2.3 and FOSUserBundle. I have already successfully install and this working fine with this doc https://gist.github.com/danvbe/4476697 But In on my twig page: {% block content…
Kunwar Siddharth Singh
  • 1,676
  • 6
  • 33
  • 66
0
votes
2 answers

How to make an authenticated oAuth call with HwiOAuthBundle

In my symfony project, I have integrated HwiOAuthBundle for different social logins (twitter, facebook and google) and everything is working perfectly. We are collecting the oAuth tokens for each of these providers as well as the user id. Now my…
0
votes
1 answer

How to persist the user_token obtained from a provider with HWIOAuthBundle?

After installing HWIOauthBundle and successfully going through the OAuth process for Github, I find myself lost. Here is the problem: I need to have the user token persisted so that I can use it more than once without asking the user to go through…
Reydel Leon
  • 1,035
  • 2
  • 11
  • 34
0
votes
1 answer

Possible to get user profile information after login using hwioauthbundle in symfony2?

I'm using HWIOauthBundle and FOSUserBundle on a Symfony2 application. I have a situation where a user can opt to create a profile object at a step unrelated to logging in, and I would like to grab the data from their social profile at this step. Is…
Pez
  • 1,251
  • 16
  • 32
0
votes
2 answers

FOSUBUserProvider must implement UserProviderInterface

We are trying to use FOSUserBundle and HWIOAuthBundle together in the way like it's described there https://gist.github.com/danvbe/4476697 The only difference is that we are using mongodb. This error is fired: User provider…
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
0
votes
3 answers

redirect_uri_mismatch the second time I run the login

I am using HWIOAuthBundle to create users via oauth. The first time I connect everything ok, I create the user and does the redirect properly on the set: http://localhost/rememberme/web/app_dev.php/login/check-google From the second time I connect…
Lughino
  • 4,060
  • 11
  • 31
  • 61
0
votes
1 answer

HWIOAuthBundle eagerly creates users

In my app I need to be able to let users log in and connect their accounts via OAuth. I'm using HWIOAuthBundle and FOSUserBundle to accomplish that. But there's a problem: when I'm registering via Facebook or whatnot a User entity is automatically…
kix
  • 3,290
  • 27
  • 39