Skipping User Consent Page

I was trying to bypass the user consent screen for my user into my app. Most of the threads on this it pretty much right except for one part that maybe is different from when they were written (all in the mid - early 2017).

Here’s one of them:

http://community.auth0.com/t/how-do-i-skip-the-consent-page-for-my-api-authorization-flow/6035

One of the answers out there said that when you create the auth0 client:

auth0 = new auth0.WebAuth({
clientID: '{client_id}',
domain: '{domain}.auth0.com',
responseType: 'token id_token',
audience: 'https://{domain}.auth0.com/userinfo',
redirectUri: '{redirect_url}',
scope: 'openid'

});

If the audience you use is {domain}.auth0.com/userinfo, all you have to do is set the skip content switch on the api that was created when you set up your account. I found that I had to change the audience field to: {domain}.auth0.com/api/v2 (or whatever the link for your api is) . So my client instantiation looked like this:

auth0 = new auth0.WebAuth({
  clientID: '{client_id}',
  domain: '{domain}.auth0.com',
  responseType: 'token id_token',
  audience: 'https://{domain}.auth0.com/api/v2',
  redirectUri: '{redirect_url}',
  scope: 'openid'

});

then it started working…

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.