ueberauth / ueberauth_google

Google OAuth2 Strategy for Überauth.
MIT License
164 stars 85 forks source link

Add support to hl param in authorization URL #102

Closed alejandrodevs closed 11 months ago

alejandrodevs commented 12 months ago

In order to change the locale in the google interface, the param hl have to be passed in the authorization url. List of supported locales: https://serpapi.com/google-languages

Example URL:

https://accounts.google.com/o/oauth2/v2/auth?client_id=client_id&hd=example.com&hl=es&redirect_uri=http%3A%2F%2Fwww.example.com%2Fauth%2Fgoogle%2Fcallback&response_type=code&scope=email+openid&state=wsX_H_KivcqRx03y5mgmrCDm

What do you think? @yordis

yordis commented 11 months ago

🚀 💜

alejandrodevs commented 11 months ago

@yordis Do you mind releasing the new version please?