Demonstrate how to use FIDO2 UI SDK to manage devices in a popup window
Click the button below to open the login modal:
Step1: Login first, then manage your FIDO2 devices
Please login first to access device management
Simplest integration:
Fido2UIManager.renderLogin({
container: '#login-container',
mode: 'modal',
serverUrl: SERVER_URL
});
With theme customization:
Fido2UIManager.renderLogin({
container: '#login-container',
mode: 'modal',
serverUrl: SERVER_URL,
language: 'ja',
theme: {
primaryColor: '#ce59d9',
backgroundColor: '#faf5ff'
},
features: {
enablePasswordLogin: true,
autoShowPassword: true
}
});
Device Manager:
Fido2UIManager.renderDeviceManager({
userId: currentUserId,
container: '#device-container',
mode: 'modal',
serverUrl: SERVER_URL,
language: 'ja'
});