-
Notifications
You must be signed in to change notification settings - Fork 16
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
Is anyone having issues with the async not receiving a response after authentication? #13
Comments
Seeing the same thing here. I thought this might be due to the contacts API not being enabled in the google developer console, but that doesn't seem to be the issue. |
Try this. You only need to call getAccessToken() as it already calls getAuthorizationCode(). Run in Electron 1.7.7
|
@TimNZ thanks for sharing, works here! |
@TimNZ Your code worked!! Thanks for sharing.. |
Thanks you men |
Relatively new to electron so I am not sure if I am missing something in how I structured the code or if there is something amiss.
I have set up a main.js with the included code snippet and I can not seem to get a response from the getAuthorizationCode function to enable the code to continue past the async await call. I am able to get the log in window to appear along with the authentication consent screen. But at that point it redirects to my localhost page but the code is stuck in the async waiting process.
Any suggestions?
The text was updated successfully, but these errors were encountered: