我想在超级账本中将身份验证与本地护照集成在一起。 当我使用google和GitHub护照时,它可以工作。但是当我尝试将其与本地护照一起使用时,它不起作用:
export COMPOSER_PROVIDERS='{
"local": {
"provider": "local",
"module": "passport-local",
"usernameField": "username",
"passwordField": "password",
"authPath": "/auth/local",
"callbackURL":"/auth/local/callback",
"successRedirect": "/",
"failureRedirect": "/",
"setAccessToken": false,
"callbackHTTPMethod": "post"
}
}'
谢谢。