-1

il git delle configurazioni eseguite come da documentazione https://gist.github.com/idlweb/6232475

l'errore restituito: InvalidArgumentException: Unable to replace alias "my.oauth_aware.user_provider.service" with "hwi_oauth.user.provider.entity.secured_area".

grazie per qualsiasi aiuto

Zelig74
  • 47
  • 6
  • 3
    This question appears to be off-topic because questions on StackOverflow need to be in English. – John Parker Aug 14 '13 at 16:48
  • Re: HWIOAuthBundle have error on service definition Postby vpatil09 » Tue Aug 14, 2012 1:15 pm define the service for this in services.yml CODE: SELECT ALL services: my.oauth_aware.user_provider.service: class: HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider arguments: userManager: "@fos_user.user_manager" properties: ["pass properties as array"] – Zelig74 Aug 14 '13 at 21:07

2 Answers2

4

Try this to get started:

security:
    ....
    firewalls:
        ...
        secured_area:
        ...
            oauth:
            ...
                oauth_user_provider:
                    service: hwi_oauth.user.provider
Henry
  • 7,721
  • 2
  • 38
  • 38
2

Re: HWIOAuthBundle have error on service definition Postby vpatil09 » Tue Aug 14, 2012 1:15 pm

define the service for this in services.yml

services:
    my.oauth_aware.user_provider.service:
        class: HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider
        arguments:
            userManager: "@fos_user.user_manager"
            properties: ["pass properties as array"]
johannes
  • 15,807
  • 3
  • 44
  • 57
Zelig74
  • 47
  • 6