Partner site (embeds the product)

Plays the role of a partner domain. The product runs below as a cross-site iframe.

Embedded product

What the parent can see

Product auth statewaiting...
Parent can read iframe DOM?checking...

The product only tells the parent a coarse loggedIn boolean. The key never leaves the iframe. A malicious parent cannot read the credential.