passport-google-oauth2
                                
                                 passport-google-oauth2 copied to clipboard
                                
                                    passport-google-oauth2 copied to clipboard
                            
                            
                            
                        Breaking changes in 2.0?
Hello,
I was wondering if there's a list of breaking changes to upgrade from version 1 to 2
Thanks
Me too what is changed in version 2.0.0? Where can we find a changelog?
thanks
Looking at the commit history, this appears to be the only material change: https://github.com/jaredhanson/passport-google-oauth2/pull/53
This changes the strategies default behavior for fetching a users Google profile information to the Google OpenID Connect userinfo endpoint instead of the deprecated Google+ Profile API endpoint. According to the Google docs, these endpoints do have different response formats, but it seems like this strategy tries to normalize the formats into something consistent – see the /lib/profile directory.
As far as I can tell – the profile.gender property would no longer be populated, and profile.emails[] now has a verified property and no longer has a type property.
@schnerd thanks