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

Symfony 2 : HWiOauthBundle : Overriding connect_success.html.twig

I have implemented both FOSUserBundle and HWIOauthBundle in my Symfony 2 project. Basically, everything works fine but I would like to customize a litle bit more. Typically I use the connect functionnality of the HWIOauthBundle to connect oauth…
Cruz
  • 695
  • 8
  • 21
0
votes
3 answers

Symfony HWIOauthBundle, FOSUserBundle. Integrity constraint violation: 1062 Duplicate entry

I have tried all day to figure this out. So here goes. I am using Symfony version 2.6.4 I originally had a login and signup form using friendsofsymfony/user-bundle": "2.0.*@dev I have just added "hwi/oauth-bundle": "0.4.*@dev" to allow for facebook…
Chris
  • 2,166
  • 1
  • 24
  • 37
0
votes
1 answer

Symfony - OAuth and basic auth together

So, I have this security: providers: fos_userbundle: id: hwi_oauth.user.provider.fosub_bridge firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: pattern: ^/ …
Artur Schroeder
  • 243
  • 4
  • 15
0
votes
1 answer

My Synfony2 app can't resolve a service dependency

I'm trying to integrate FOSUserBundle with HWIBundle, to add the social media connections to my app. The FOSUser is working perfectly, but I get a problem with the integration with HWIOAuthBundle. Bundles are loaded in AppKernel, perfectly. This is…
Louis B
  • 306
  • 5
  • 18
0
votes
1 answer

HWI Oauth + Symfony 2 /login/check error

Edit: I moved all of the oauth config in security.yml to the 'default' firewall (and updated the oauth config parameter firewall_main: default in config.yml) and everything started working fine. I am having an issue with the hwi/oauth-bundle for…
mcriecken
  • 3,217
  • 2
  • 20
  • 23
0
votes
1 answer

Hwioauth failure login referer path

In hwi_oauth I can set param with path to failure redirect. I want to redirect to referer. Can I set it in hwi or must create failure_handler ?
user987935
  • 51
  • 1
  • 3
0
votes
1 answer

I'm using symfony2 with HwiAuth bundle for registration

I'm using symfony2 with HwiAuth bundle for registration. and i dont know how to publish post to facebook page because i have already the token for users
ahmadox
  • 33
  • 1
  • 9
0
votes
0 answers

Symfony2 app deployment with HWIOAuth and Capifony

After some days I deploy manually a SF2 app, I wrote a Capifony script to automate app deployment. But the deployment crash with this error : ** [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] ** The child node…
Jérémy
  • 267
  • 2
  • 13
0
votes
1 answer

HWIOauthBundle not redirecting to desired path after login

I did as per documentation and resources from the Internet. but it is not redirecting user to default_target_path specified here is my security.yml security: encoders: FOS\UserBundle\Model\UserInterface: sha512 role_hierarchy: …
Straw Hat
  • 902
  • 14
  • 38
0
votes
1 answer

HWIOAuthBundle Symfony2 facebook login route name

Where do I find the route name for logging in with facebook? I don't want to hardcode the routes into the twig templates.
Einius
  • 1,352
  • 2
  • 20
  • 45
0
votes
1 answer

Integration of HWIOAuthBundle with FosUserbundle configuration issue

I have followed this article and implemented OAuth2 with Github, After successful authentication, I am getting below error. Unable to find the controller for path "/secure_area/login/check-github". Maybe you forgot to add the matching route in…
amit
  • 63
  • 8
0
votes
1 answer

HWIOAuthBundle Google - Don't have all data that I want

I'm using HWIOAuthBundle for google and I can sign in and login with it. But I need to have all informations about the user (works, educations, skills, etc) and the only thing that I receive is : array (size=11) 'id' => string 'XXXXXXXXXXX'…
Maxime Picard
  • 603
  • 5
  • 17
0
votes
1 answer

hwioauthbundle and fosuserbundle - not playing well together?

I'm trying to manage the classic FOSUserBundle authentification with HWIOauthBundle authentification. Each work 'ok' alone. I authenticate and see the user in my user table, without a problem. Though when I try to validate the user with something…
brandnet
  • 13
  • 1
  • 5
0
votes
1 answer

How is the callback from a resource owner processed in HWIOAuthBundle?

I am trying to understand how HWIOauthBUndle works. I can see how the initial authorization request to a resource owner is built and made. I do not see however, how a callback made from a resource owner triggers any controller/action in my…
matt_jay
  • 1,241
  • 1
  • 15
  • 33
0
votes
0 answers

How to configure HWIOAuthBundle and FOSUserBundle

I am configuring Fosuserbundle and HWIOAuth Bundle to Login from Facebook and Google. issue i am facing is: When i try to login a user through google account , when he is not already logged in , as i enter credentials of Google and press login it…
Aim
  • 91
  • 3
  • 9