-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How would this work on non-Mac Electron apps? #4
Comments
This seems to be blocked in Electron (Windows & Linux have ways to handle this but they are not tapped in) a way to handle this as of now (as Google does in their PKCE demos aswell) is creating a simple http server which will handle the callback |
Ah interesting idea. so to clarify, something like setting up an express server on localhost:5000 & changing the callback url from For now I'm just using the |
The Electron example seems to hinge on this:
Unfortunately the
open-url
event is mac onlyRunning this demo in Linux for example throws this error in the terminal
The end result is a hanging auth0 splash screen w/ an indefinite 'waiting' spinner
I've used PKCE flow w/ this client before in a Chrome extension, and the logins are reflected in my auth0 logs, so I'm certain it's something unique to the electron flow here.
Any idea how to get this working?
The text was updated successfully, but these errors were encountered: