Fix the problem with missing scope in oauth.js