express-4.x-passport-snapchat-example
express-4.x-passport-snapchat-example copied to clipboard
Fetch user info API throwing 401 insufficient scope for valid access token
I'm working on integrating snapchat sign-in with my web app. I happen to be able to fetch the access_token and refresh_token based on documentation (https://docs.snapchat.com/docs/login-kit#web). But to get the user info from users api (https://developers.snapchat.com/api/docs/#user), it throws 401 unauthorised insufficient scope. Is there a way to fetch the user info? There is already an open issue on SO : https://stackoverflow.com/questions/53825846/snapchat-user-api-returns-401-unauthorised-with-the-error-message-insufficient
Maybe it is because your app hasn't been reviewed yet? And only the demo users can use it?