oAuth login with Google fails because the TOKEN_ISSUER constant expects Google clientId passed inside Parse server init to have a different domain name than whats provided by Google.
if (jwtClaims.iss !== TOKEN_ISSUER) {
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, `id token not issued by correct provider - expected: ${TOKEN_ISSUER} | from: ${jwtClaims.iss}`);
}
New Issue Checklist
Issue Description
oAuth login with Google fails because the TOKEN_ISSUER constant expects Google clientId passed inside Parse server init to have a different domain name than whats provided by Google.
Steps to reproduce
Actual Outcome
Expected Outcome
Should login the user and provide sessionToken.
Environment
Server
4.3.0
Mac OS
localhost
Database
Mongo
4.XX
localhost
Client
JS
1.8.0
Logs