google / u2f-ref-code

U2F reference implementations
BSD 3-Clause "New" or "Revised" License
588 stars 182 forks source link

Consolidate AppId for web-based and app-based U2F requests. #156

Closed xiaoliu1988 closed 7 years ago

xiaoliu1988 commented 7 years ago

Hi @leshi, please review this change.

Without this, web-based and app-based U2F requests will have different AppIds, and it makes the same token registered under web-based requests can't be recognized by requests in app-based requests, and vice versa.