mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	feat(frontend): add passkey/webauthn for secondary MFA (#9729)
* bump allauth * add trust * add device trust handling * fix style * [FR] Add passkey as a factor Fixes #4002 * add registration * allow better testing * add mfa context * fix login * add changelog entry * fix registration * remove multi device packages * move to helper * handle mfa trust * simplify page fnc
This commit is contained in:
		| @@ -1386,10 +1386,12 @@ MFA_ENABLED = get_boolean_setting( | ||||
| MFA_SUPPORTED_TYPES = get_setting( | ||||
|     'INVENTREE_MFA_SUPPORTED_TYPES', | ||||
|     'mfa_supported_types', | ||||
|     ['totp', 'recovery_codes'], | ||||
|     ['totp', 'recovery_codes', 'webauthn'], | ||||
|     typecast=list, | ||||
| ) | ||||
| MFA_TRUST_ENABLED = True | ||||
| MFA_PASSKEY_LOGIN_ENABLED = True | ||||
| MFA_WEBAUTHN_ALLOW_INSECURE_ORIGIN = DEBUG | ||||
|  | ||||
| LOGOUT_REDIRECT_URL = get_setting( | ||||
|     'INVENTREE_LOGOUT_REDIRECT_URL', 'logout_redirect_url', 'index' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user