Restrict login email with Google (HWIOAuthBundle) to specific Domain in Symfony -
how can restrict logging google specific domain hwioauthbundle in symfony2 (hd
parameter). ¿where can write it?
thanks
you may write inside options parameter resource owners. e.g.:
# config.yml resource_owners: google: type: google client_id: "%google_client_id%" client_secret: "%google_client_secret%" scope: "email profile" options: hd: "yourdomain.com" access_type: offline
as referenced issue: https://github.com/hwi/hwioauthbundle/issues/216
Comments
Post a Comment