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

Support WebOTP API and origin-bound one time code in cross-origin iframes #604

Closed
1 task done
yi-gu opened this issue Jan 28, 2021 · 3 comments
Closed
1 task done
Assignees
Labels
Progress: propose closing we think it should be closed but are waiting on some feedback or consensus Review type: later review Review type: small delta Topic: native platform integration Features that enable web sites to integrate better with native platforms Topic: security features Venue: WICG

Comments

@yi-gu
Copy link

yi-gu commented Jan 28, 2021

HIQaH! QaH! TAG!

I'm requesting a TAG review of supporting WebOTP API and origin-bound one time code in cross-origin iframes.

The WebOTP API gives developers the ability to programmatically read one time codes from specially-formatted SMSes addressed to their origin to reduce user friction. The origin-bound one time code format is supported in Chrome and Safari. WebOTP API is supported in Chrome (TAG review, I2S).

In the initial launch of the API, we deliberately ignored the cross-origin iframe support. Post launch, we are trying to add such support to address feature requests from the web developer community (e.g. Shopify, iCloud) and improve interoperability.

Links for the general WebOTP API:

Links for cross-origin support:

Further details:

  • I have reviewed the TAG's API Design Principles
  • Relevant time constraints or deadlines: We like to ship this in Chrome M90
  • The group where the work on this specification is currently being done: WICG
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue):

You should also know that...

The implication of the proposed modification:

  • Developers need to send SMS that complies with the updated format for cross-origin usage

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

@cynthia cynthia added this to the 2021-03-08-week milestone Feb 9, 2021
@torgo torgo added Review type: Already shipped Already shipped in at least one browser Review type: small delta Progress: propose closing we think it should be closed but are waiting on some feedback or consensus and removed Review type: Already shipped Already shipped in at least one browser Progress: unreviewed labels Mar 22, 2021
@torgo
Copy link
Member

torgo commented Mar 22, 2021

We discussed briefly in our call today and we think we may be able to close this off this week. Will revisit in the plenary call.

@kenchris
Copy link

This looks good to us, it is a small delta, the right people have been involved and the double keying looks like the right solution to us! Thanks for bringing this to the TAG!

@samuelgoto
Copy link

Neat! Thanks all!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Progress: propose closing we think it should be closed but are waiting on some feedback or consensus Review type: later review Review type: small delta Topic: native platform integration Features that enable web sites to integrate better with native platforms Topic: security features Venue: WICG
Projects
None yet
Development

No branches or pull requests

7 participants