User story
When users visit my app and I ask them to sign in, I don't want to navigate away from my app. Instead, I want to embed the login experience in an iframe inside my app.
Context of the story
Some IdPs support embedding of their UX in an iframe, allowing "inline" authentication experiences that still benefit from SSO,
Should this be considered sanctioned or unsanctioned tracking?
Sanctioned
Explicit list of parties involved
IDP
User
Application
Complicating characteristics
This is a zero-navigation, iframe-based authentication that is nevertheless interactive. It does not have a full-page redirect that can be intercepted. When the iframe is loaded, the IdP will have no access to existing sessions, potentially causing the user to need to authenticate multiple times across apps that use this pattern.
Additional information
This is a prime candidate for the initial implementation of the Storage Access API, wherein an IdP would trigger the prompt and regain access to its 1st party cookies.