Make rms.auth.otp_email use SMTP transport with the same host/port/auth/tls settings model as smtp relay, with outbox fallback when SMTP is unavailable. Extend OTP plugin settings schema to expose standard SMTP parameters in plugin config.
28 lines
698 B
JSON
28 lines
698 B
JSON
{
|
|
"id": "rms.auth.otp_email",
|
|
"name": "OTP per E-Mail",
|
|
"version": "1.0.0",
|
|
"apiVersion": "1.0",
|
|
"capabilities": [],
|
|
"authMethod": {
|
|
"id": "otp-email",
|
|
"type": "otp",
|
|
"label": "OTP (E-Mail)"
|
|
},
|
|
"settingsSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"host": { "type": "string" },
|
|
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
|
|
"secure": { "type": "boolean" },
|
|
"authUser": { "type": "string" },
|
|
"authPass": { "type": "string" },
|
|
"from": { "type": "string" },
|
|
"replyTo": { "type": "string" },
|
|
"allowInvalidCert": { "type": "boolean" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"uiControls": []
|
|
}
|