Embed with direct login (SSO via Javascript)

It would be great to allow direct login from an embedded tab (e.g. roadmap) so users don't have to login twice.

This can be achieved with Javascript where the parent page provides an email, name, and secret code (hash).