implement basic passkey login flow
This commit is contained in:
parent
926afee5c5
commit
0a1da35d84
8 changed files with 150 additions and 96 deletions
|
@ -26,15 +26,6 @@ class TotpForm(FlaskForm):
|
|||
submit = SubmitField(gettext('Authorize'))
|
||||
|
||||
|
||||
class WebauthnLoginForm(FlaskForm):
|
||||
"""webauthn login form"""
|
||||
|
||||
assertion = HiddenField('Assertion', [InputRequired()])
|
||||
|
||||
class Fido2Form(FlaskForm):
|
||||
fido2 = StringField(gettext('Fido2'), default="Javascript Required")
|
||||
submit = SubmitField(gettext('Authorize'))
|
||||
|
||||
|
||||
class ConsentForm(FlaskForm):
|
||||
# scopes = SelectMultipleField(gettext('scopes'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue