Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to hl param in authorization URL #102

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

alejandrodevs
Copy link
Contributor

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

@alejandrodevs alejandrodevs requested a review from a team as a code owner September 25, 2023 17:20
@alejandrodevs alejandrodevs changed the title Add support to hl param in handle_request! Add support to hl param in authorization URL Sep 25, 2023
@yordis yordis merged commit ad1de54 into ueberauth:master Sep 25, 2023
@yordis
Copy link
Member

yordis commented Sep 25, 2023

🚀 💜

@alejandrodevs
Copy link
Contributor Author

@yordis Do you mind releasing the new version please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants