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

Error configuring a particular provider for my web application

[Symfony\Component\Debug\Exception\ContextErrorException] Catchable Fatal Error: Argument 2 passed to Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider::__construct() must implement interface…
Marcius Leandro
  • 775
  • 1
  • 11
  • 34
0
votes
1 answer

OAuth HwioBundle, different socialNetWork

I work to project in Symfony which have registration HWIOBundle for different social network. If user enters for example LinkedIn and some time for GitHub I has two user in database. Who knows how to do was one?
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
0
votes
1 answer

HWIOBundle FacebookConnect - data pagination

I'm using Symfony2 with HWIOAuthBundle. I managed to obtain requested data (including page likes), but if their number exceeds 24 and the user has more than 24 page likes facebook api sends next attribute with the URL to call as following: ... …
peter
  • 147
  • 2
  • 13
0
votes
1 answer

To path the parameter to OAuth facebook login by symfony2/HWIOAuthBundle

This question is related to this article I have googled many times and made the problem more precisely. My question is very simple. Can I pass the parameter from here (for example : myStatus=1)
whitebear
  • 11,200
  • 24
  • 114
  • 237
0
votes
1 answer

FOSUserBundle + HWIOAuth security configuration failed

I'm trying to get FOSUserBundle and HWIOAuth working together for handle the authentication of two types of users: representatives and interns. The representatives ones would begin using HWIOAuth and would use Salesforce and internal FOSUserBundle.…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

More than one firewall at Symfony2 project security.yml, how to deal with pattern?

I am working in a project where I will need two firewalls or secured areas. The first firewall/secured area will allow login/logout using HWIOAuthBundle using Salesforce as provider, the second firewall/secured area will allow login/logout through…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

ServiceNotFoundException: HWIOAuthBundle + Salesforce resource owner

I am trying to get HWIOAuthBundle the bundle installed & configured but I am having some issues. This is what I have done: 1) Enable the bundle at AppKernel.php: new HWI\Bundle\OAuthBundle\HWIOAuthBundle(), 2) Add this line to the…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

Symfony2 get roles from the login response

In my Symfony2 project i'm using HwiOAuthbundle to login users with Salesforce users, and in my user provider i get the information about the user: email, nickname, password,... etc. And i wanna know if how can i get the role of the authenticated…
ihssan
  • 369
  • 1
  • 6
  • 24
0
votes
1 answer

Redirect user to a dynamic url after success authentication

In my Symfony2 project i am using HWIOauthBundle to login users with facebook account. and what i wanna do is redirect the user to a route that has parameters after a success login. Is there any way to set default_target_path in firewall as…
ihssan
  • 369
  • 1
  • 6
  • 24
0
votes
1 answer

error in Symfony while using salesforce connected app

In my Symfony2 project i need to login with Salesforce users so i installed HwiOAuthBundle and i created a connected app in Salesforce to get the customer and secret key, but when i try to login in my Symfony2 application i get this strange…
ihssan
  • 369
  • 1
  • 6
  • 24
0
votes
1 answer

HWIOAuthBundle with FOSUserBundle and Remember me options

So I have the HWIOAuth Bundle and FOSUserBundle and when I am using the remember me option for some reason it keeps looping in /login/ route. However if I logout and login it works fine till it needs to be refreshed. My project is a open source one…
Luis Lopes
  • 506
  • 4
  • 14
0
votes
1 answer

error Symdony2 with hwiOAuthBundle: you have requested a non existing service

I'm working in a project in Symfony2 and i need to use facebook users to login in my application so i installed HwiOAuthBundle and when i run my app i get this error: You have requested a non-existent service "hwi_oauth.account.connector" this is my…
ihssan
  • 369
  • 1
  • 6
  • 24
0
votes
1 answer

not installing HWIOAuthBundle in symfony 2

When I try to install HWIOAuthBundle I get the following error: Fatal error: Class 'hwi\oauthbundle\HWI\Bundle\OAuthBundle' not found in C:\xampp\htdocs\prjectName\app\AppKernel.php on line 24 I have reference to documentation, after running the…
55555nam
  • 29
  • 1
  • 6
0
votes
2 answers

HWIOauth & Facebook access user_friends

I am trying to access the user_friends sent by facebook after oauth using HWIOauthBundle. ##config.yml resource_owners: facebook: type: facebook client_id: %facebook_app_id% …
Chris
  • 2,166
  • 1
  • 24
  • 37
0
votes
1 answer

HWIOauth & Facebook get response

I have read the instructions here: https://github.com/hwi/HWIOAuthBundle/blob/master/Resources/doc/internals/response_object_and_paths.md and have copied all the settings. I am having trouble finding where I can get the response as shown in the…
Chris
  • 2,166
  • 1
  • 24
  • 37