Add MFA support

This commit is contained in:
garrettmills
2020-04-22 16:56:39 -05:00
parent d68d5141c8
commit e3ecfb0d37
30 changed files with 802 additions and 75 deletions

View File

@@ -3,6 +3,10 @@ const auth_config = {
default_provider: env('AUTH_DEFAULT_PROVIDER', 'flitter'),
default_login_route: '/dash',
mfa: {
secret_length: env('MFA_SECRET_LENGTH', 20)
},
servers: {
// OAuth2 authorization server
oauth2: {