simov / grant

OAuth Proxy
MIT License
4.08k stars 257 forks source link

Use new token endpoint for Google oauth #266

Closed radenkovic closed 2 years ago

radenkovic commented 2 years ago

Hello folks,

Suggesting an update of access_url (token endpoint) for provider google since it was updated a few years ago. It should not break the integrations (I did some basic testing and everything works fine), however new endpoint is OpenIDConnect compliant and allows discovery, I also faced problems to refresh the token using refresh_token with the old endpoint.

New endpoint is also used in actual docs.

simov commented 2 years ago

Thanks, I will have a look. I knew about this endpoint but I never really got around testing it.

simov commented 2 years ago

I have updated the authorize endpoints as well :+1:

simov commented 2 years ago

Published in v5.4.20

radenkovic commented 2 years ago

@simov Awesome, thank you!