we are using Lock library for swagger in our backend project(JAVA)… it works pretty well since a few weeks ago.
the situation is after login (via auth0 login popup)… it keeps showing login popup after redirect the redirectUrl.
code is very simple like below.
<script src="https://cdn.auth0.com/js/lock/11.23.1/lock.min.js"></script>
var lock = new Auth0Lock(
'${config.clientId}',
'${config.domain}',
options
);
lock.on('authenticated', function (authResult) {
console.log('Authenticated', authResult);
Cookies.set('AccessToken', authResult.accessToken, {expires: 30});
window.location = '${config.redirectUrl}';
});
lock.show();
something changed with auth0-lock.js?
I’ve been searching for a while… was not able to figure this out.
Thank you.