feat(notifications): configurable OAuth2 authority + scope per SMTP configuration (defaults preserve M365) — entity + EF + migration + token service
Claude-Session: https://claude.ai/code/session_01MtdgwpEeCUn6cUA5f1LMPj
This commit is contained in:
+9
@@ -126,5 +126,14 @@ public class SmtpConfigurationConfiguration : IEntityTypeConfiguration<SmtpConfi
|
||||
builder.Property(s => s.FromAddress)
|
||||
.IsRequired()
|
||||
.HasMaxLength(500);
|
||||
|
||||
// Optional OAuth2 token-endpoint overrides — null preserves the M365 defaults.
|
||||
builder.Property(s => s.OAuth2Authority)
|
||||
.IsRequired(false)
|
||||
.HasMaxLength(500);
|
||||
|
||||
builder.Property(s => s.OAuth2Scope)
|
||||
.IsRequired(false)
|
||||
.HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user