-
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
"Error Launching App" After clicking the login button #3
Comments
You'll to create an API in Dashboard > APIs and then pass the |
But this is using the example values, which it looks like should work out of box? |
Change it to |
I will try that. Thanks very much for the demos and the very speedy responses! |
You should initialize your own keys at this point. I left the |
It doesn't seem to be called. I'm not seeing the |
Hmm, this seems like an electron issue, can you check if the app is running in single instance mode? Please refer to the electron docs for more. |
It turns out I'm now running that, but it returns me to the application and does nothing. I just learned that |
@slapbox In that case I recommend you take good old express-js and create a simple express server in your service which handles the callback. You can then skip singleInstance and open-url altogether even on OS X. As a bonus you can also render a screen asking the user to close the browser :D |
@darkyen Thanks very much for the advice. This is not an option that ever would have occurred to me. I'll certainly look into it. |
I've the same issue:
on linux but I think is a known problem of electron.setAsDefaultProtocolClient do you have any suggestion how to fix it? I'm struggling a lot trying to setup auth0 on electron.. I can't make it working I've also tried this method I describe in this other issue that lead me here. |
Well after some struggle I think I've found a solution at least for Windows. As it was mentioned above setAsDefaultProtocolClient works only for the packaged apps. However at least for windows
or something like this as a more 'finished' solution
This will fix the problem with 'Unable to find Electron app' but electron will create a new window after browser attempt to open Electron app. To make sure you have only one window use
If interested this is the whole index.js that worked for me. P.S. I am using Electron v 1.7.10. Not tested on Mac |
Thanks for putting together these demos.
When I launch the Electron demo and click login I get the following:
and then after clicking to open the URL:
Any thoughts? Thanks again!
The text was updated successfully, but these errors were encountered: