You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass a list of allowed origins instead of a single origin (#184)
* Pass a list of allowed origins instead of a single origin
Android and iOS also support WebAuthn just like browsers.
The apps will use their AppStore/PlayStore AppID as the origin. This
means we need to allow a list of origins instead of a single origin.
Apple uses https://developer.apple.com/documentation/xcode/supporting-associated-domains to link
the app origin to the RpId
Google uses an assetlinks.json file:
https://developers.google.com/identity/fido/android/native-apps#interoperability_with_your_website
* Add haddocks
* add comment
* Add changelog item
* Fix copy/paste mistake
* point to steps
* make imports consistent
* consistent imports
* Remove redundant import
* Last import fixed
* Remove pure
* Add test
* Fix precondition
* Fix style
* Fix hlint
* Update changelog.md
Co-authored-by: Silvan Mosberger <[email protected]>
---------
Co-authored-by: Silvan Mosberger <[email protected]>
-- See Apple's documentation on [associated domains](https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/)
182
+
-- and Google's documentation on [Digital Asset Links](https://developers.google.com/identity/passkeys/developer-guides) for more information on how to link app
183
+
-- origins to your Relying Party ID.
162
184
verifyAuthenticationResponse::
163
-
--| The origin of the server
164
-
M.Origin->
185
+
--| The list of allowed origins for the ceremony
186
+
NonEmptyM.Origin->
165
187
--| The hash of the relying party id
166
188
M.RpIdHash->
167
189
--| The user handle, in case the user is identified already
-- See Apple's documentation on [associated domains](https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/)
291
+
-- and Google's documentation on [Digital Asset Links](https://developers.google.com/identity/passkeys/developer-guides) for more information on how to link app
292
+
-- origins to your Relying Party ID.
271
293
verifyRegistrationResponse::
272
-
--| The origin of the server
273
-
M.Origin->
294
+
--| The list of allowed origins for the ceremony
295
+
NonEmptyM.Origin->
274
296
--| The relying party id
275
297
M.RpIdHash->
276
298
--| The metadata registry, used for verifying the validity of the
0 commit comments