Unfortunately I haven't seen a question that asks exactly what I need so I decided to post one.
The problem: I have a chrome extension that loads an iframe sidebar. On initial load, the user needs to login using a google account of their choice. In addition, the same auth flow (ideally) should be presented to the user if they visit the actual site (in a new tab).
I currently use the Google Account Chooser and when using an iframe version of the the site, I run into some issues, mainly:
Refused to display 'https://accounts.google.com/AccountChooser?continue=https://accounts.google…t.com%26from_login%3D1%26as%3D473effc061cc82d5&btmpl=authsub&scc=1&oauth=1' in a frame because it set 'X-Frame-Options' to 'DENY'.
To summarize, what I need is:
- One auth flow that addresses
- login to the site via an iframe and
- login to the site in a new tab.
- Auth flow that allows the user to select a Google account similarly to Account Chooser