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

How can I write a user provider for HWIOAuthBundle

I want to write a login feature via social networks. if the user is not logged it persists it into the database, if the user exists, log the user in. What should I write into my provider? Docs state : The bundle needs a service that is able to…
Aysennoussi
  • 3,720
  • 3
  • 36
  • 60
3
votes
1 answer

Is there a way to manually set the redirect URI for HWIOauthBundle?

As I am currently working in a local development environment, I would like to change the redirect URI that the HWIOAuthBundle sends to any provider (e.g., Facebook). My aim is to use a service such as lvh.me or noip.com for the redirection back to…
matt_jay
  • 1,241
  • 1
  • 15
  • 33
3
votes
0 answers

connectServiceAction in HWIOAuthBundle. It ask connect even if user is already connect

I'm using HWIOAuthBundle with Symfony 2.4.4. I implemented the Facebook login: if you point your browser to /login/facebook it asks you to authenticate and it works flawlessly. Unfortunately if you try to visit again this page while you are still…
3
votes
1 answer

When loadUserByOAuthUserResponse() is called in HWIOAuthBundle

I am making appication with HWIOAuthBundle There is a source code https://gist.github.com/danvbe/4476697 FOSUBUserProvider.php There are two functions which related oauth - login However,I cant figure out when FOSUBUserProvider.php is called and…
whitebear
  • 11,200
  • 24
  • 114
  • 237
3
votes
2 answers

How can I Override HWIOAuthBundle twig file

I am new in HWIOAuthBundle with Symfony2.3 +FosUserBundle. I am using this bundle for facebook, twitter, googleplus login in my project. I have successfully install this and this working fine. But I want to override login.html.twig because I want to…
Kunwar Siddharth Singh
  • 1,676
  • 6
  • 33
  • 66
3
votes
1 answer

Symfony HWIOAuthBundle, how to configure cURL?

On the development machine we have the default certificates that comes with apache, when we trying to authenticate with facebook, HWIOAuthBundle fires an exception: SSL certificate problem: unable to get local issuer certificate It's clear that in…
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
3
votes
2 answers

HWIOAuthBundle - SSL certificate

I am developing a website with Symfony2 on a localhost[Wamp] running on Windows, I need for login to the sitewith HWIOAuthBundle[facebook, Google] but everytime when I click on login I get this error message: SSL certificate problem: unable to get…
theo theo
  • 131
  • 1
  • 3
  • 10
3
votes
1 answer

FOSOUserBundle + HWIOAuthBundle google accesstoken Timeout after a hour

Iam using FOSUserBundle + HWIOAuthBundle and have a problem regarding the accesstoken expired after one hour. Here I am saving my access token in db while each login. How to refresh my access token and update in db? is there any document regarding…
Lal Mohan
  • 323
  • 1
  • 7
  • 21
3
votes
0 answers

HWIOAuthBundle permitting the user to add a password before submitting the data retrieved from facebook

there! I have just integrated HWIOAuthBundle with my Symfony2 application, but I would like to permit the user to enter a password, which he will use for my website login beside the email that will be retrieved from facebook before submitting the…
3
votes
4 answers

Auto register user with HWIOAuthBundle

I am using HWIOAuthBundle with FOSUserBundle with success. When I go to the /login page it redirects me to the Google Accounts, authorizes and returns back to the register form with filled data (except password fields). Is it possible to auto…
hsz
  • 148,279
  • 62
  • 259
  • 315
3
votes
2 answers

Symfony2.1 - HWIOAuthBundle and google oauth authentication

I am trying to setup Symfony2.1 with HWIOAuthBundle to handle google oauth authentication. I have followed manual instructions in bundle description, but still something is missing. When I visit an action which requires authenticated user (or just…
mrok
  • 2,680
  • 3
  • 27
  • 46
2
votes
1 answer

Hwi oauth bundle and Symfony 3.4 Cannot autowire service : How to use hwi/oauth-bundle in symfony 3.4 + FOSUserBundle

I'm upgrading an application written in Symfony 2.8.5 to Symfony 3.4 I would like to use hwi/oauth-bundle to keep the oauth Facebook / Google login in Symfony 3.4. (My oauth login was working on Symfony 2.8.5 with FOSUserBundle ) Now I get this…
2
votes
2 answers

Custom UserChecker in HWIOauthBundle

I have a problem with FOSUserBundle and HWIOauthBundle. I use custom UserChecker to check whether user is banned (custom table in database as I need a ban history). When I use Facebook to log-in my CustomChecker is not used. It does work when I'm…
nass
  • 382
  • 1
  • 6
  • 19
2
votes
1 answer

HWIOAuthBundle without FOSUserBundle

I am having trouble implementing HWIOAuthBundle for google login/signup with my current application which has a custom authentication (not using FOSUserBundle). To start off, I am getting a 404 error when trying to connect to "xxxx/connect/google". …
Brian Chen
  • 4,001
  • 3
  • 9
  • 15
2
votes
2 answers

extend UserManager to search User by relation (symfony3)

I installed FOSUserbundle and HWI Oauth bundle. My problem is: I want to access data from my user entity that is stored in a relation. I'd like to access the data from the fields social_network_slug and social_identifier from UserInSocialNetworks…
sneaky
  • 439
  • 1
  • 6
  • 18
1 2
3
17 18