Python - Google OAuth2 - Wrong number of segments in token Python - Google OAuth2 - Wrong number of segments in token flask flask

Python - Google OAuth2 - Wrong number of segments in token


what you are passing is the access_token and not the id_token.when you initiate a Google login it send u a "code" then u pass it to token end point and it give u three things. access_token, id_token and refresh_token(based on condition).what that function want is id_token.