could you please tell me what exactly you are trying to achieve? Do you want to enable login only with Google accounts that have an email address under a specific domain?
Our company using Google Apps, and I want to allow login only from our domains. That's possible if I just could add parameter "hd" inside OAuth API call...
Hi, Adding this parameter is not feasible for Google. However, you could implement the domain restriction in the callback (server-side). There are login events available to the browser (JS), but they do not provide the email address.
Hi, We understand your request. At present, this is not possible with our plugin. We'll consider adding this feature, but, right now, cannot promise anything.
Answers
could you please tell me what exactly you are trying to achieve?
Do you want to enable login only with Google accounts that have an email address under a specific domain?
Regards,
Our company using Google Apps, and I want to allow login only from our domains.
That's possible if I just could add parameter "hd" inside OAuth API call...
More info at https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters
Adding this parameter is not feasible for Google.
However, you could implement the domain restriction in the callback (server-side).
There are login events available to the browser (JS), but they do not provide the email address.
Regards
This is official Google parameter as You can see it on mentioned link.
We are using it on our custom apps, we have company-domain.com on Google Apps, and we allow only Google Auth from our company domain.
We understand your request. At present, this is not possible with our plugin.
We'll consider adding this feature, but, right now, cannot promise anything.
Regards.