Get Oauth token by jQuery AJAX - blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Only the scopes you specify are requested when the user goes through the OAuth process to accept those permissions. If you don’t specify any scopes, the token wont have any.

1 Like