config.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. hwi_oauth:
  2. resource_owners:
  3. login:
  4. type: oauth2
  5. client_id: "%client_id%"
  6. client_secret: "%client_secret%"
  7. access_token_url: "%access_token_url%"
  8. authorization_url: "%authorization_url%"
  9. infos_url: "%infos_url%"
  10. scope: "user"
  11. user_response_class: Base\OAuthClientBundle\OAuth\Response\PathUserResponse
  12. paths:
  13. identifier: id
  14. nickname: username
  15. realname: firstname
  16. firstname: firstname
  17. lastname: lastname
  18. roles: roles
  19. tenancies: tenancies
  20. tenancyCurrent: tenancyCurrent
  21. hasIntercom: hasIntercom
  22. firewall_names: [secured_area]
  23. doctrine:
  24. orm:
  25. entity_managers:
  26. default:
  27. mappings:
  28. custom_mapping:
  29. type: annotation
  30. prefix: Base\OAuthClientBundle\Security\Core\User\
  31. dir: "%kernel.root_dir%/../vendor/ik/oauthclient-bundle/Security/Core/User/"
  32. is_bundle: false