I can’t seem to get file:/// to work with our Electron app. I was able to get things working by adding the full callback file:/// url into the Allowed Callback URLs setting. The callbacks work just fine on the web using the callback with https://*.netlify.com/login. Does it now have to be something like file://* or file:///*?
a) Register a callback URL like https://{your-auth0-domain-name}.auth0.com/mobile, file:///
b) Set the callback URL in your code to location.href
c) Use the auth0 lock as follows,
var lock = new Auth0Lock(AUTH0_CLIENT_ID, AUTH0_DOMAIN, {
auth: {
redirect: false,
sso: false
}
});
Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.
Wanted to reach out to know if you still require further assistance?