ueberauth / ueberauth_google

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

Take token type from oauth response #30

Closed tsubery closed 7 years ago

tsubery commented 7 years ago

Everything works because google always sends "Bearer" token type and it is the default type for oauth2 library. It's probably smarter to manually take it from the response just in case google or oauth2 will introduce changes.

doomspork commented 7 years ago

Thank you @tsubery 👍