-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ import * as webauthn from '@passwordless-id/webauthn' | |
|
||
```html | ||
<script type="module"> | ||
import { client } from 'https://unpkg.com/@passwordless-id/[email protected].2/dist/webauthn.min.js' | ||
import { client } from 'https://unpkg.com/@passwordless-id/[email protected].3/dist/webauthn.min.js' | ||
</script> | ||
``` | ||
### Import | ||
|
@@ -310,7 +310,8 @@ const expected = { | |
challenge: async (challenge) => { /* async call to DB for example */ return true }, | ||
origin: (origin) => listOfAllowedOrigins.includes(origin), | ||
userVerified: true, // no function allowed here | ||
counter: 123 // optional, no function allowed here | ||
counter: 123, // optional, no function allowed here | ||
verbose: true, // optional, enables debug logs containing sensitive information | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
|
||
<script type="module"> | ||
import { client } from 'https://unpkg.com/@passwordless-id/[email protected].2/dist/webauthn.min.js' | ||
import { client } from 'https://unpkg.com/@passwordless-id/[email protected].3/dist/webauthn.min.js' | ||
|
||
window.register = async function() { | ||
console.log('Registering...') | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters