10 lines
242 B
Python
10 lines
242 B
Python
|
|
from fido2.server import Fido2Server
|
||
|
|
from fido2.webauthn import PublicKeyCredentialRpEntity
|
||
|
|
from app.core.config import settings
|
||
|
|
|
||
|
|
rp = PublicKeyCredentialRpEntity(
|
||
|
|
id="admin.example.com",
|
||
|
|
name="Admin"
|
||
|
|
)
|
||
|
|
|
||
|
|
fido2_server = Fido2Server(rp)
|