Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am not getting any errors, but when I authenticate in a mobile browser (tested on modern versions ios and android) the authentication permissions Google asks me to confirm are only those of the 'profile' scope, not the two other scopes I am using (YouTube).

It works perfectly in desktop browser.

using express.js and passport.js

router.get('/auth/google', passport.authenticate('google', { 
    scope : 'profile https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube',
    accessType: 'offline'
}));
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.