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
2
votes
2 answers

Unrecognized field: facebookId

I try to connect symfony 3 with HWIOAUTH Bundle and follow the tutorial https://gist.github.com/danvbe/4476697. file config.yml hwi_oauth: connect: account_connector: my_user_provider firewall_names: [main] fosub: username_iterations:…
chinhnguyen
  • 73
  • 1
  • 16
2
votes
2 answers

HWIOAuthBundle `An authentication exception occurred`

I have problem with HWIOAuthBundle (FOSUserBundle integration.) Click the link /connect/google, this screen appeares. (Screen is blurred , because it is client's email) then go back to callback URL /login/check-google it redirected to /login and…
whitebear
  • 11,200
  • 24
  • 114
  • 237
2
votes
2 answers

No property defined for entity for resource owner

So i'm trying to use the HWI-OAuthBundle and FoS-UserBundle in order to enable users to connect from our schools credentials. So I applied what was said in the docs and configured the custom resource owner. When i try to login, i'm correctly…
ecralx
  • 23
  • 1
  • 5
2
votes
1 answer

Symfony3 FOSOAuthServerBundle and Facebook or Google login

I have created an API that uses the FOSUserBundle and the FOSOAuthServerBundle for user accounts and Authorization. Is it possible to add, login via facebook or google, functionality using the FOSOAuthServerBundle? I have seen people mentioning…
2
votes
1 answer

Symfony HWIOAuthBundle Accesstoken

I need to get access token on social network, example github. The logic is when my authentication user enter in profile he can put button and confirm account with social network and this situation I need access token access token oauth. I have…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
2
votes
2 answers

How to setup HWIOAuthBundle with FOSOAuthServerBundle

Trying to use both bundles with latest Symfony (V:2.7.2). FOSOauth is set and works fine, but adding HWIOAuthBundle isn't so trivial. Following the instruction in native Read.me brought me to this: The service "hwi_oauth.security.oauth_utils" has…
2
votes
1 answer

HWIOAuthBundle : Redirecting to localhost after login

i've installed HWIOAuthBundle and after login success i would like to redirect to localhost. ( i've configured apache to work on localhost ). So instead of http://localhost/web/app_dev.php/ after login, i like to go to http://localhost Edited…
Seyes Radhouene
  • 143
  • 1
  • 10
2
votes
1 answer

Stateless (API) authentification with HWIOAuthBundle and Symfony2

Currently my project (Frontend and Backend both Symfony2) uses the HWIOAuthBundle for authentication via Google, etc. Since I want to separate the frontend (frontend AngularJS) from the backend. Communication will rely on JSON data (so REST in…
mcode
  • 534
  • 4
  • 18
2
votes
1 answer

Problems with HWIOAuthBundle first example

I am fighting against HWIOAuthBundle. I am trying to make it work with twitter Oauth but I am not sure I am on the right road and I apologize from now if this question may appear trivial. I am Following the few instructions reported on the doc. I…
2
votes
1 answer

login in with form login and HWIOAuthBundle

I tried fulfill authorization via HWIOAuthBundle, but I have some problem. When i first registreret user via registration form then after logout, i tried login in via HWIOAuthBundle i have error: SQLSTATE[23000]: Integrity constraint violation: 1062…
YuriiChmil
  • 441
  • 1
  • 5
  • 18
2
votes
2 answers

Get facebook profile picture with HWIOAuthBundle

I know this subject was already discussed but however I still cannot find a solution. I use HWIOAuth Bundle with FOSUserBundle for my users and socials connections. #app/config.yml #HWIOAuthBundle hwi_oauth: firewall_name: main …
2
votes
2 answers

Login user with HWIOAuthBundle in AJAX

I'm implementing a page with a form on Symfony with a specific treatment. When user clicks on the button, a call in AJAX is sent to my server. When the user is not authenticated we put the information in the response and the client displays a login…
2
votes
1 answer

Send a tweet in symfony2's HWIOAuthBundle

I want when a user registers using twitter, to tweet automatically on his account a message. Can I do it through HWIOAuthBundle. I can't find anything on Google , is this even possible ? Thanks
Aysennoussi
  • 3,720
  • 3
  • 36
  • 60
2
votes
0 answers

symfony2 hwioauthbundle correct configuration

I tried to use hwioauth bundle to authenticate through salesforce, but I'm not able to run whi configuration. I get the following message: InvalidConfigurationException: Invalid configuration for path "security.firewalls.secured_area": The…
Matteo Rossi
  • 443
  • 5
  • 12
2
votes
1 answer

How to get familyName and givenName in google plus?

I am using HWIOAuthBundle for retrieving data from google+ api. For that, I extended FOSUBUserProvider class and I rewrote the public function loadUserByOAuthUserResponse(UserResponseInterface $response) {} as follows: public function…