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

How do I have HWI OAuth Bundle behave well in a containerized application behind a reverse proxy?

Context I've been running an intranet admin panel in Symfony 3.x for several years. The users login with google oauth and the system checks if the email matches a validated one in a lookup-list. The oauth client handling is done with the "HWI OAuth…
Xavi Montero
  • 9,239
  • 7
  • 57
  • 79
0
votes
1 answer

AOuth login can't store session token, but userdata is stored correctly in DB with HWIAOuthBundle

I am using HWIAOuthBundle and Custom UserProvider on Symfony 4.4 in MyUserProvider It stored the access_token and create new user. It works successfully.
whitebear
  • 11,200
  • 24
  • 114
  • 237
0
votes
1 answer

How to install HWIOAuthBundle in Symfony4.3?

If i try install this bundle like it described in docs with command composer require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle i have this error: Problem 1 - Installation request for hwi/oauth-bundle ^0.6.3 ->…
Loctarogar
  • 540
  • 3
  • 10
  • 29
0
votes
1 answer

how to set routing prefix for dosuserbundle and hwiauthbundle (ERR_TOO_MANY_REDIRECTS)

i am working with an application build with Symfony3.4 using fosuserbundle and HWIOAuthBundle everything was working fine but when i tried tu use prefixes for the routing i am getting an ERR_TOO_MANY_REDIRECTS error when trying to log in…
Ali Mhanna
  • 199
  • 2
  • 15
0
votes
1 answer

composer could not resolve dependencies for hwi/oauth-bundle

If I do $ composer require hwi/oauth-bundle I get this: Using version ^0.6.3 for hwi/oauth-bundle ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Restricting…
0
votes
0 answers

You must setup php-http/httplug-bundle to use the default http client service Symfony 4.2.4

I started a project with Symfony 4.2.4. I try to integrate HWIOAuthBundle in my project but I have the following error. Script cache:clear returned with error code 1 !! !! In HWIOAuthExtension.php line 220: !! !! You must setup…
Soltac
  • 1
  • 1
0
votes
1 answer

hwi_oauth can't connect to FOS_OAUTH_SERVER

I looked through several solutions with the centralised login service. My Situation is as following: Central Login under login.domain.tld Backend under backend.domain.tld Customer Service under: support.domain.tld frontend under…
0
votes
0 answers

How to check the log of AOuth login fails on google HWIOAuthBundle/

I am using HwiOAuthBundle 0.6.3 and symfony 3.4.42 I redirect to google gmail page then select mailaddress and password , but authrization failed and redirect to /fail Where can I find the log about why google auth failed?? My setting is like this…
whitebear
  • 11,200
  • 24
  • 114
  • 237
0
votes
1 answer

How Can I Fix This Symfony 4 Redirect Loop With HWIOAuthBundle And Auth0?

I have been trying to configure my symfony 4 instance to use https instead of http but have been stuck on how to fix a redirection loop going to the uri /login/. With basic http what I have works fine, but when I try to add https support via this…
piperRyan
  • 397
  • 1
  • 3
  • 11
0
votes
1 answer

HWIOAuth Symfony 4: A service definition must be an array or a string starting with "@" but string found for servic

I'm trying to integrate the FOS with HWIO on Symfony 4. Unfortunately, I ran into an error as seen below: In FileLoader.php line 168: A service definition must be an array or a string starting with "@" but string found for service "class" in…
Akira Hora
  • 458
  • 1
  • 6
  • 18
0
votes
0 answers

Cannot autowire service "hwi_oauth.resource_ownermap.secured_area"

I am trying to integrate HWIOAuthBundle in my Symfony 4.1 application. I followed the documentation regarding the installation of the bundle. Here are snippets of my configuration files: # config/packages/hwi_oauth.yaml hwi_oauth: # list of…
Victor
  • 13,914
  • 19
  • 78
  • 147
0
votes
1 answer

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

I'm using HWIOAuthBundle wit my symfony application and I followed the following documentation of theirs. https://github.com/hwi/HWIOAuthBundle I got stuck at one place. As the resource owner I used google and when running the application it gives…
yasii92
  • 89
  • 10
0
votes
1 answer

Symfony 4 + HWIOAuthBundle: No user provider on logout

I'm stuck trying to implement user management in a Symfony4 project with this bundle and Auth0. Currently, I have a couple of problems: one of them is that, when I log out, I am greeted by: There is no user provider for user…
0
votes
1 answer

HWIOAuthBundle error while sending http request

I use "symfony/symfony": "~2.8", "hwi/oauth-bundle": "0.4.*@dev", "friendsofsymfony/user-bundle": "~2.0" and for first time try enter to social network I have error: CRITICAL - Uncaught PHP Exception…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
0
votes
2 answers

HWIOAuthBundle 'Cannot register an account.' with social VK

I have problem with HWIOAuthBundle and vk.com, everything works, but some time ago I found face to face with error, after oAuth with vk.com 'Cannot register an account.' I found this place…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121