Skip to content

Commit

Permalink
Add MFA devices component. fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Dec 13, 2023
1 parent c445a6e commit 56e519b
Show file tree
Hide file tree
Showing 7 changed files with 460 additions and 93 deletions.
12 changes: 9 additions & 3 deletions mocks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
</head>

<!-- <script src="https://unpkg.com/email-linker/dist/browser/email-linker.min.js" type="module" defer></script> -->

<body>
<authress-vanishing-keys></authress-vanishing-keys>
<!-- <authress-vanishing-keys></authress-vanishing-keys> -->

<div style="width: 500px; height: 500px; margin: auto; border: 1px solid black; border-radius: 10px">
<authress-web-authn>
<div slot="brand">
<img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHhtbDpzc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jUuNTMsMzY0LjIzLDMxOS4xOCwzNjQuMjN6Ii8+Cjwvc3ZnPgo=" style="height: 36px; border-radius: 10px;">
</div>
</authress-web-authn>
</div>
</body>

</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
],
"mode": "production",
"dependencies": {
"@authress/login": "^2.3.259",
"base64url": "^3.0.1",
"bootstrap": "4",
"buffer": "^6.0.3",
Expand Down
1 change: 1 addition & 0 deletions src/components.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import './components/vanishingKeys.js';
import './components/mfaDevices/mfaDevices.js';
Loading

0 comments on commit 56e519b

Please sign in to comment.