Auth0 Home Blog Docs

Lock in Popup mode and Consent required


#1

I’m using Lock 11.9.0 and following configuration to use Lock in popup mode:
auth0Lock = new Auth0Lock(configuration.clientId, opconfigurationions.domain,
{
auth: {
redirect: false,
responseType: “token”,
params: {
scope: “openid profile email”,
audience: configuration.audience,
}
},
autofocus: true,
languageDictionary: {
title: “”
}
});
auth0Lock.on(“authenticated”, onAuthenticated);

But after entering credentials on localhost I’m receiving warning with the message: ‘Consent Required. Consent can’t be skipped on localhost.’
Default /userinfo audience is used.
Allow Skipping User Consent option is disabled.
OIDC Conformant is also disabled.
https://gel-website-dev.eu.auth0.com/api/v2/

Is it possible to receive consent dialog in popup mode even on localhost environment?