KnpOAuthBundle HWIOAuthBundle.
HWIOAuthBundle OAuth, Facebook, Twitter, Google, Yahoo .. , 1 . : Google:
hwi_oauth:
resource_owners:
google:
type: google
client_id: *client_id*
client_secret: *client_secret
scope: "https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
firewall_name: *main firewal name*
:
google_login:
pattern: /login/google
hwi_oauth_redirect:
resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml"
prefix: /connect
, /connect/*provider_name*, . /connect/google