-
Notifications
You must be signed in to change notification settings - Fork 157
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
OAuth callback URL must be a string #70
Comments
To be clear - you're saying it errors out before the callback is called, so in the getRequestToken method? Do you have a stack trace? |
I have the same problem, also trying to authenticate with an Electron app. See my relevant code on GitHub: https://github.com/pahund/fit17/blob/evernote/src/mainProcess/evernote/index.js The Evernote login window appears, I enter my credentials, hit submit. The user name and password are correct (registered on the Evernote sandbox). The screen goes blank, Electron's developer console shows this error:
The error message leads me to believe that the error occurs in the JS code of the Evernote sandbox, not in my code. My OAuth callback URL is not called from the Evernote sandbox, the log statements I've put there are not executed. |
@ohalligan @pahund I have the same problem. Did you fix it ? |
@akhaku Here is stack trace |
No, I hadn't found a fix or workaround, sorry |
Hello there,
I've been developing an application using Electron but I have a problem authenticating users. Most of the times, when I call the getRequestToken function and redirect the user to the login form, evernote throws an error:
This is my code is structured:
The problem is that 95% of the times, the callback is not called. I even tried it with a different URL (not localhost), but the issue remains.
Thank you.
The text was updated successfully, but these errors were encountered: