Somewhat related to the thread below:
We are currently struggling to use the chrome.identity APIs to authenticate & authorize users:
- Users frequently want a different account than the one signed into Chrome (lots of weird UX edge cases here)
- Unable to log in with other providers (e.g. Microsoft. launchWebFlow does not work with some additional security providers like Duo)
And we observed that a lot of extensions are using the client-side gapi and msal libraries in their background pages. These libraries rely on the window object for data storage and UI, and so won't work in manifest v3.
How is the user supposed to get a non-interactive token in these cases? tabs & window.create are clearly not suitable for UX, we can't continually pop up to ask the user for a new token every hour and manually handling offline tokens is a security nightmare.
Have these use cases been considered?