Skip to content

Iframe-origin in the FedCM UX is sometimes not meaningful to users  #449

@yi-gu

Description

@yi-gu

Some websites delegate authentication to a cross-origin iframe that they own. e.g. ebay.com embeds ebaystatic.com where FedCM API is invoked from. Showing the iframe domain unnecessarily confuses users because they trust eBay (the RP) and are not familiar with ebaystatic.com (the domain). e.g. a user will likely be confused when they see the following UI while visiting ebay.com

Ideally, the user shouldn’t need to have to care about the relationship between ebaystatic.com and ebay.com so the mock below makes more sense to the user.

Omitting the iframe domain makes sense in this case but not so much in other use cases. e.g. travel.example embeds a third-party booking.example where FedCM API is invoked. When the user is signing into booking.example (where the token is issued to) with idp.example, they are not signing in to travel.example. Therefore the string “sign in to travel.example with idp.example” when omitting the iframe domain is incorrect and showing all 3 domains on the UI to provide users the complete information is better.

We should have a way to differentiate between the two use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions