Working UI SDK and modal demo
This commit is contained in:
@@ -442,7 +442,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const SERVER_URL = 'https://local.dqj-macpro.com';
|
||||
const SERVER_URL = 'https://fido2.amipro.me';// 'https://local.dqj-macpro.com';
|
||||
|
||||
function getBrowserLanguage() {
|
||||
const lang = window.navigator.language || window.navigator.userLanguage;
|
||||
@@ -463,6 +463,7 @@
|
||||
console.log('Opening standalone device manager with default style...');
|
||||
|
||||
Fido2UIManager.renderDeviceManager({
|
||||
userId: 'user@example.com',
|
||||
mode: 'standalone',
|
||||
serverUrl: SERVER_URL,
|
||||
language: CURRENT_LANG,
|
||||
@@ -494,6 +495,7 @@
|
||||
console.log('Opening standalone device manager with custom style...');
|
||||
|
||||
Fido2UIManager.renderDeviceManager({
|
||||
userId: 'user@example.com',
|
||||
mode: 'standalone',
|
||||
serverUrl: SERVER_URL,
|
||||
language: CURRENT_LANG,
|
||||
|
||||
Reference in New Issue
Block a user