auth0-samples / auth0-electron-samples

[DEPRECATED] Auth0-Electron Sample
MIT License
18 stars 21 forks source link

Username-Password authentication not working #28

Open timbusuttil opened 6 years ago

timbusuttil commented 6 years ago

I'm in the process of setting up Auth0 logins for an Electron app. Working between this sample and the most recent Auth0 Lock docs, I've got social logins working, but username-password authentication always returns the "We're sorry, something went wrong when attempting to log in."

From what I've seen in other git issues, it seems the PKCE flow might be what I need to implement, but I've been struggling to do so. An out of the box solution with Lock would be great, obviously, but some help/a sample for PKCE with Electron would be hugely appreciated if that's what I need.