I am currently doing an oauth integration using an Angular SPA, AWS Gateway and AWS Lambda. This article was really a lot of help with the third party consent flow. Because my app is a SPA I really didn't want to go off of the page where the user is taking the action. Thanks 👍
Hi Danielle, I've using a modified version of your code in my nuxt project and it's about 90% there. However the issue I'm facing is while the google oauth popup is open my callback "receiveMessage" function is being called constantly. I've scattered logs around in the "openSignInWindow" function(and that's not being called in the same way), nor is my version of the "useEffect" function which is set up in my "mounted" vue hook. Can you please help me understand why my callback function is being called while this popup is open? Thanks in advance!
This article is awesome and i help full very much, but i have a question. How can inplement this on vue or on native JS ? Because useEffect() is not available on JS only in React. Thanks
Versatile software engineer with a background in .NET consulting and CMS development. Working on regaining my embedded development skills to get more involved with IoT opportunities.
I am currently doing an oauth integration using an Angular SPA, AWS Gateway and AWS Lambda. This article was really a lot of help with the third party consent flow. Because my app is a SPA I really didn't want to go off of the page where the user is taking the action. Thanks 👍
Hi Danielle, I've using a modified version of your code in my nuxt project and it's about 90% there. However the issue I'm facing is while the google oauth popup is open my callback "receiveMessage" function is being called constantly. I've scattered logs around in the "openSignInWindow" function(and that's not being called in the same way), nor is my version of the "useEffect" function which is set up in my "mounted" vue hook. Can you please help me understand why my callback function is being called while this popup is open? Thanks in advance!
Hello Danielle.
This article is awesome and i help full very much, but i have a question.
How can inplement this on vue or on native JS ? Because useEffect() is not available on JS only in React.
Thanks
@joseat Have you found the solution for Vue or native JS?
You could also exclude those sites as referrers to fix the analytics. This is good to know though, I can see a lot of uses for your solution!
I realised that once I'd implemented the popup solution! But I think I prefer the popup now anyway :)
I came across this article while trying to implement exactly this and it was a great help. Thank you!
Hi Danielle, I've using too a modified version of your code, but although I set the name for the popin, in message I receive data.source as undefined.
Thank you Danielle for this awesome article, you have helped me so much 🙏
Hi
great article!
just a little question:
where /when do we need to call openSignInWindow()?
Hi Daniel.
You could call openSignInWindow(), for example on your login() button listening onClick event
Thanks for this article. Everything worked as mentioned above :).