I have an OAuth link for google authentication
Looks like this: https://api.x.xx.com/v1/oauth/google (NOT THE ACTUAL API)
I need to use this link to open a browser window, which on opening shows the google provider screen showing our google accounts. I have done till that using window.open(url)
method. Now, on pressing a google account of ours, I need to obtain the user details and send these details to the figma plugin somehow. So like communicating or sending data between a browser window and my figma plugin. How do i do that?