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

Symfony 2 Oauth2 issue with HwiOauthBundle

I'm using HWIOAuthBundle (with google configuration) for authentication in one of my project. It works very well most of the time. But at some point when I surf on the application, I get an error about the google_id. It doesn't appear on a specific…
kofi_kari_kari
  • 420
  • 4
  • 18
2
votes
1 answer

No resource owner with name 'check-facebook'

I am trying to implement HWIOAuthBundle with FOSUserBundle for having both standard (login and registration) and OAuth (login and registration). I don't know how to finalise this. Here is my config files: config.yml imports: - { resource:…
Smashou
  • 378
  • 1
  • 12
2
votes
0 answers

HWIOAuthBundle reddit OAuth error: "404"

I have HWIOAuthBundle with reddit setup. This is the html I use for login: {% if error %}
{{ error.message }}
{% endif %} {% for owner in hwi_oauth_resource_owners() %} {{ owner |…
Tuxes3
  • 439
  • 2
  • 19
2
votes
0 answers

Content Encoding Error when connecting to LinkedIn oAuth

I have configured 2 providers and used the FOS-Oauth-Bridge. FB works just fine, but when I try connecting to LinkedIn, the browser shows the message Content Encoding Error The page you are trying to view cannot be shown because it uses an …
Prasad
  • 1,822
  • 3
  • 23
  • 40
2
votes
1 answer

facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1

I have followed the tutotial http://m2mdas.github.io/blog/2013/11/21/integrate-hwioauthbundle-with-fosuserbundle/ to make the Github login work, it almost seems to be working as when i clicked login i land up on the github login page, and i could…
Codious-JR
  • 1,658
  • 3
  • 26
  • 48
2
votes
1 answer

Symfony2 - Openshift " PHP Fatal error: Class 'HWI\\Bundle\\OAuthBundle\\HWIOAuthBundle' not found

I've been trying to create a simple Symfony 2.5 Project with HWI Oauth bundle . The projects works perfectly on my local Windows Machine I managed to do facebook Oauth Authentification But i uploaded my project to an Openshift server and i keep…
Kuashe
  • 41
  • 8
2
votes
1 answer

Does HWIOAuthBundle support retrieving friends list, gender, country

I have just implemented the HWIOAuthBundle in my symfony project. Actually, it is configured with facebook and I am wondering if it supports retrieving friends list, gender and country? If yes, could you please provide me an example of code for the…
Amine Jallouli
  • 3,919
  • 8
  • 36
  • 73
2
votes
1 answer

Binding Facebook Connect with HWIOAuthBundle in Symfony2

I've read documentations and examples from few sources but still can't get this HWIOAuthBundle works. I've login form using user ID and password which added manually in Admin section that already works fine. I want to add Binding Facebook Button in…
Jun Rikson
  • 1,964
  • 1
  • 22
  • 43
2
votes
1 answer

How to combine FosUserBundle and HWIAothBundle login and regstration

I am making a Login page and a Registration page Using FosUserBundle and HWIOAuthBundle + Symfony2.4 using composer the behaviour i would like is : on the Login Page -> users can login using Google, Facebook or Login Through a Form on the…
Ritin
  • 401
  • 6
  • 15
2
votes
1 answer

HWIOAuthBundle doesn't redirect to twitter login

I am settting up FOSUserBundle and HWIOAuthBundle("0.3.*@dev") to work with facebook and twitter. I followed all documentation steps and facebook is working well but twitter doesn't work correctly. When I click to connect with twitter, it just…
dextervip
  • 4,999
  • 16
  • 65
  • 93
2
votes
2 answers

Weird HWIOAuthBundle and twig error "No resource owner with name 'google'."

This error is fired by HWIOAuthBundle from the /login route: An exception has been thrown during the rendering of a template ("No resource owner with name 'google'.") in HWIOAuthBundle:Connect:login.html.twig at line 8. It's even not clear why it…
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
2
votes
3 answers

Installation HWIOAuthBundle?

I try 10 times to find out how to install HWIOAuthBundle But there is no enough documentation, I install the Bundle and I follow exactly the documentation in Git But it shows me this error: InvalidConfigurationException: Unrecognized options…
Momo1987
  • 544
  • 6
  • 16
2
votes
3 answers

HWIOAuthBundle & FOSUserBundle integration

I followed these two documentations : https://github.com/hwi/HWIOAuthBundle/tree/master/Resources/doc (for HWIOAuth) https://gist.github.com/danvbe/4476697 (to integrate HWIOAuth with FOSUB) And I get this error ServiceNotFoundException: You have…
Sandoche
  • 561
  • 8
  • 19
1
vote
0 answers

HWIOAuthBundle add token attribute after success auth

I use HWIOAuthBundle for Symfony. HWI\Bundle\OAuthBundle\Security\Core\Authentication\Provider\OAuthProvider.php has function "authenticate" where create and return OAuthToken. public function authenticate(TokenInterface $token){ ... $token =…
1
vote
0 answers

Can the permission to access user's profile picture be removed in Facebook login oauth?

I can request for permissions specifying the scope like this: facebook: type: facebook client_id: '' client_secret: '' scope: "email, user_birthday" and when logging in, I get asked for…
ionela
  • 23
  • 4