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

HWIOAuthBundle: What do the configuration parameters mean?

I am a fairly novice Symfony (v3) developer and try to implement a Facebook login on my web application with HWIOAuthBundle. I have already read upon OAuth2 and understand the basic workflow using Authorization Code. Furthermore I have studied…
user38931
  • 53
  • 9
0
votes
1 answer

HWIOAuthBundle listener complete work

i have problem with HWIOAuthBundle and google authentication, i can't complete work on OAuthProvider. After flush data, i want return entity object, that i saw example somewhere in stackoverflow. But when i return $obj; I catch error : Catchable…
user4685464
0
votes
1 answer

Symfony HWI OAuth login error behind a proxy

I am using Symfony2 with HWIOAuth Bundle to login with Facebook Google and twitter. When network connection is behind a proxy login gives following error [2/2] HttpTransportException: Error while sending HTTP request in …
TRiNE
  • 5,020
  • 1
  • 29
  • 42
0
votes
1 answer

Non-existent service "form.csrf_provider" in Symfony2 application

I am trying configure HWIOauthBundle in my Symfony2 application with this link. When I run app/console cache:clear, or composer install I get this message: [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException] The service…
0
votes
1 answer

Login with "fosUser" and "prod.log" is temporary locked

bundles - fosUserBundle - HWIOAuthBundle In the beginning, all work fine but, every 5 days, login with "fosUser" is locked for 1 day or less ... he return " login or password incorrect ..." ( HWIOAuthBundle still work when "fosUser" is locked !!!!…
0
votes
1 answer

Symfony Authentification Users Form Login

I have symfony with FOSUser and HWIO Bundle. And before I have authentication only HWIO(only social network), but now I need with form authentication, with email and password. I create form registration and authentication action, and when user…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
0
votes
0 answers

HWIOAuthBundle & FOSUserBundle The service definition does not exist

I'm trying to add HWIOAuthBundle in my existing project, and i'm stuck with this error message : [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException] Unable to replace alias "hwi_oauth.user.provider.fosub_bridge" with …
0
votes
1 answer

Setters and getters aren't accessible from custom user entity in Symfony2

I'm trying to implement the hwioauthbundle for connecting with Google. However, I'm facing the problem that symfony can't seem to find the method declared in the User entity - I believe it has something to do with the FOSUserBundle that I'm also…
Mathias Lund
  • 752
  • 1
  • 9
  • 23
0
votes
0 answers

HWIO Bundle getClientIp()

I use HwioBundle and owner facebook, vk. I need IP user before hwio conect to owner, I try use $ip = $request->getClientIp(); but in class UserProvider I have not request, only respons, calssUserProvider this is service and I do to add service…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
0
votes
1 answer

Twitter authentication with HWIOAuth in Symfony

I'm trying to authenticate the user with Twitter using Symfony 2.7.3 + HWIOAuth 0.4, but I have some kind of authentication problem right at the beginning of the process. It just redirects me to the login page. If I dump the $apiResponse in the…
Isty001
  • 144
  • 1
  • 11
0
votes
1 answer

Restrict login email with Google (HWIOAuthBundle) to specific Domain in Symfony

How can I restrict logging into Google to an specific domain from HWIOAuthBundle in symfony2 (hd parameter). ¿Where can I write it? Documentation Thanks
user288521
  • 11
  • 2
0
votes
1 answer

Does not get Response in HWIOAuthBundle

I have successfully installed HWIOAuthBundle. I login to Facebook with this bundle. After a successful login, I get no response. I see a blank screen. My config file is: hwi_oauth: firewall_name: secured_area resource_owners: …
user4869699
0
votes
2 answers

Redirect after being logged

I wonder if there is a way to put even the propio security.yml file, something like: web: pattern: ^/web oauth: resource_owners: facebook: "/web/login/check-facebook" google: …
Marcius Leandro
  • 775
  • 1
  • 11
  • 34
0
votes
1 answer

HWIOAuthoBundle with FOSUserbundle. Render Controller not working

I try to render a controller in my webSite but an exception is triggered: HERE MY CODE render(controller("HWIOAuthBundle:Connect:login")) HERE THE MESSAGE An exception has been thrown during the rendering of a template ("Controller…
Alexis_D
  • 1,908
  • 3
  • 16
  • 35
0
votes
1 answer

Make a custom login screen for the HWIOAuth Bundle using bootstrap

{% extends '::base.html.twig' %} {% block content %}
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
Marcius Leandro
  • 775
  • 1
  • 11
  • 34