How to skip "consent_required"

I implemented Auth0 as below

const authInit = new auth0.WebAuth({
          domain: authConfig.domain,
          clientID: authConfig.clientId,
          redirectUri: authConfig.callbackUrl,
          audience: '',
          responseType: 'token id_token',
          scope: 'openid'

loginWithEmailPassword(email, password) {
return new Promise((resolve, reject) => {
    connection: 'Username-Password-Authentication',
    email: email,
    password: password,
    scope: 'openid'
  }, function(err, authResult) {
    if (err) reject(err)

And Enabled option ‘Allow Skipping User Consent’ in my Api Configuration, But this error still occur

description:"Consent required"
error_description:"Consent required"

:wave: @nhatndm1193 is this happening just on localhost? Localhost will require consent always, even with the ‘Allow Skipping User Consent’ enabled.

1 Like