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
1
vote
1 answer

How to get google account email address after oauth2 using the hwioauthBundle

How do I access the users email address. I am using the built in hwi_oauth.user.provider What's the best way to do that? here is my config.yml resource_owners: google: type: google client_id: …
1
vote
0 answers

Oauth using HWIOAuthBundle for a specific TLD

I've a strange problem, we've got a symfony application that uses google/oauth through HWIOAuthBundle for login, that always works well for every user, our application is worldwide spread, so recently we've got a problem with an specific tld .eg,…
1
vote
0 answers

Downgrade facebook API?

I am using facebook API to login by OAuth However from V2.4 'email' is not available from facebook. My System is made by HWIOAuthBundle HWIOAuthBundle does not support the 2.4 yet. Then I would like to downgrade the API version, but I can't figure…
whitebear
  • 11,200
  • 24
  • 114
  • 237
1
vote
1 answer

Locale fallbacks to the default value after Facebook login using HWIOAuthBundle

I have a problem, that when I switch the language on my site, and I do a Facebook Login using HWIOAuthBundle, I always get redirect to the default locale, what I set in the config.yml. (in my case: "en") routing.yml # Facebook Connect…
peetya
  • 3,578
  • 2
  • 16
  • 30
1
vote
3 answers

HWIOAuthBundle - Can't redirect after successfull connection

I can integrate fosuserbundle and hwioauthbundle based on danvbe's documentation. I can login by username/password, facebook and twitter. I also can connect the username to his facebook/twitter account. For example at the user profile page, I try to…
Advcha
  • 43
  • 2
  • 8
1
vote
0 answers

HWIOAuthBundle - Instagram Signature

Instagram has security verification that you can turn it on or off, and we what it on, its a HMAC using the SHA256. This is the formula. Token to sign: endpoint|key1=value1|key2=value2|... Parameter name: sig Parameter value: signed token with your…
Rene Ramirez
  • 458
  • 5
  • 7
1
vote
2 answers

cannot binding a kernel.view EventListener to FOSUserBundle

I separated mobile and web requests with the help of kernel.view Event Listener. The logic works like this: if request is coming from mobile, then load xxx.mobile.twig if request is coming from web, then load xxx.html.twig This is working with my…
FZE
  • 1,587
  • 12
  • 35
1
vote
1 answer

HWIOAuthBundle error non-existent service "session"

I've looked at everywhare but could not find a reference to this: After configuring the HWIOAuthBundle and get a few problems solved I got the following error: ( ! ) Fatal error: Uncaught exception…
JMilanes
  • 23
  • 6
1
vote
1 answer

Symfony2 - HWIOAuthBundle How to get the information that I set on paths

I am implementing this Bundle in my project, but it provides the information fields Nickname, Username, realname, Email ... I also need the Firstname, Lastname and Birthday field How do I add or override these methods? My Settings:…
1
vote
0 answers

HWIOAuthBundle + FOSUserBundle integration doesn't work

I have a project with FOSUserBundle. And need to add an OAuth support. So I installed HWIOAuthBundle and configured like said here https://gist.github.com/danvbe/4476697 and here…
Tux-oid
  • 33
  • 4
1
vote
0 answers

Symfony2 : HWIOAuthBundle : Facebook login => amazing behavior

I have both implemented in my website FOSUserBunle and HWIOAuthBunle. Classical login form (FOS) and Google login (HWI) work fine. I have recently added Facebook login but when I try to log this way using this URI (simple link) from my login…
Cruz
  • 695
  • 8
  • 21
1
vote
1 answer

how to get the email address from facebook oauth

I am using HWIOAuth bundle to integrate login with facebook. Here is my config section for facebook facebook: type: facebook client_id: *************** client_secret: …
Sandeep Gupta
  • 380
  • 4
  • 14
1
vote
1 answer

Smfony2 : HWIOauthBundle : Using multiple locales

I have implemented HWIOauhBundle in my Symfony2 project. Everything works fine except the use of different locales. My default locale is "fr". When logging and using "en" locale, the connexion works fine but I am redirected to the homepage…
Cruz
  • 695
  • 8
  • 21
1
vote
0 answers

Symfony not getting auth token

I'm using the HWI OAuth bundle for Symfony. I log in with Amazon, but then my profiler toolbar says that there is no token, and that I am therefore not logged in. But the tools to grab the token and user object work fine. Why does the toolbar say…
psion
  • 748
  • 1
  • 6
  • 17
1
vote
1 answer

The child node "firewall_name" at path "hwi_oauth" must be configured

I'm doing a project with Symfony2 and I want to use Google/Facebook/Twitter for connection. So I installed HWIOAuthBundle, but I got this error when I update my composer.json "The child node "firewall_name" at path "hwi_oauth" must be …
david
  • 67
  • 8