Open mmahalwy opened 8 years ago
Hi, @gotokatsuya has implemented that in a PR. Pls wait for that PR to land in master.
And ping me here if the redirect_uri PR doesn't fix your user case.
Will I be able to use postmessage
?
What do you mean by postmessage? Please add more details about your problem.
See Step 4 in: https://developers.google.com/identity/sign-in/web/server-side-flow
Ideally, I want to have postmessage
to be set for redirecturi so that a one-time code is sent back from google upon successful auth, and sent to the server to retrieve the full data.
Thanks you for the details. I read step 4 you've linked. Yes AFAIK mentioned PR should provide the feature you need. I reopen this to remember me to check when I'll merge the PR.
Tracking upstream issue atom/electron#1865
I thought this library would be great as a work around the problem with postmessage and the google javascript auth. But I found that this completely changes my flow of my API backend because it assumes an application credential and cannot be shared with my web browser app credentials.
Can this be achieved with redirect_uri postmessage?