Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FedCM vs Storage Access API use case #183

Closed
egor-limenko opened this issue Sep 5, 2023 · 2 comments
Closed

FedCM vs Storage Access API use case #183

egor-limenko opened this issue Sep 5, 2023 · 2 comments

Comments

@egor-limenko
Copy link

egor-limenko commented Sep 5, 2023

Hey! I have a use case where I'm embedding an iframe in the third-party application. This iframe can execute an SSO process in a separate popup, which is from the same domain as the iframe. SSO auth sets cookies, that are going to be considered third-party for the host app, and this flow break when Third-party cookies are disabled.

While playing around with Chrome 117 beta, I was able to handle this case with iframe using Storage Access API. Though it looks like, based on the description, FedCM proposal is aimed to handle federated identity cases affected by third-party cookies phase out, which applies to my use case. So I'm trying to understand, which approach suits better (FedCM vs SAA)? Overall it looks like Storage Access API requires less effort to implement.
It also seems that FedCM still does not support cross-origin iframe, but Google plans to address it.

Please let me know if this should rather be asked in FedCM github. Thanks in advance

@johannhof
Copy link
Member

Hey, I see you also asked at w3c-fedid/FedCM#501 so I'll follow up there.

@egor-limenko
Copy link
Author

@johannhof Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants