You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lock authenticated event emitted when the user closes the authorization dialog by clicking cancel. I would expect this to raise the authorization_error event, however, it believes authorization was successful.
I haven't trawled through the code as of yet but wanted to raise an initial issue to see if this problem is known. If so is there a recommended workaround?
Hi @jonathanchrisp. I'm still trying to find a reasonable fix for this, but it might take a while. For now, you can use auth: { redirect: false, responseType: 'code' }, instead, it will work just fine. The issue is when you use responseType: token (the default). Does that work for you right now?
@jonathanchrisp sorry! nevermind what I said before. I found the root cause of the issue and I'll fix it for the next release. Also, responseType code wouldn't work any way 😭
Overview
Lock
authenticated
event emitted when the user closes the authorization dialog by clicking cancel. I would expect this to raise theauthorization_error
event, however, it believes authorization was successful.I haven't trawled through the code as of yet but wanted to raise an initial issue to see if this problem is known. If so is there a recommended workaround?
v10.11.0
Chrome / Mac OS Sierra
Original recording here http://recordit.co/IftdvdWU7V.
Code above returns a function for redux thunk.
The text was updated successfully, but these errors were encountered: