From 652eef27b26976d86dd629d231c27b6c379f5ee7 Mon Sep 17 00:00:00 2001 From: Sam Sheorey <91794860+sameersheorey@users.noreply.github.com> Date: Wed, 2 Dec 2026 14:39:54 +0000 Subject: [PATCH] #527 add login lockout and email config for auth-service --- components/ua/auth-service/overlays/dev/config.yaml | 7 +++++++ components/ua/auth-service/overlays/prod/config.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/components/ua/auth-service/overlays/dev/config.yaml b/components/ua/auth-service/overlays/dev/config.yaml index f4c8851c..a40b22e7 100644 --- a/components/ua/auth-service/overlays/dev/config.yaml +++ b/components/ua/auth-service/overlays/dev/config.yaml @@ -14,6 +14,13 @@ data: # How long DateProvider reuses its database clock latency measurement DATABASE_SERVER_LATENCY_EXPIRY_MINS=60 + # Login lockout and account-locked email settings (required, no default) + LOGIN_FAILED_LOGINS_ALLOWED=6 + LOGIN_LOCKING_TIME_MINS=15 + LOGIN_USER_OFFICE_EMAIL=isisuo@stfc.ac.uk + LOGIN_LOCKING_EMAIL_TO=BISAPPSSINK@stfc.ac.uk + LOGIN_LOCKING_EMAIL_FROM=isisuo@stfc.ac.uk + #JWT config jwt.issuer=auth-service-quarkus smallrye.jwt.sign.key.location=private.key diff --git a/components/ua/auth-service/overlays/prod/config.yaml b/components/ua/auth-service/overlays/prod/config.yaml index f4c8851c..ee781da0 100644 --- a/components/ua/auth-service/overlays/prod/config.yaml +++ b/components/ua/auth-service/overlays/prod/config.yaml @@ -14,6 +14,13 @@ data: # How long DateProvider reuses its database clock latency measurement DATABASE_SERVER_LATENCY_EXPIRY_MINS=60 + # Login lockout and account-locked email settings (required, no default) + LOGIN_FAILED_LOGINS_ALLOWED=6 + LOGIN_LOCKING_TIME_MINS=15 + LOGIN_USER_OFFICE_EMAIL=isisuo@stfc.ac.uk + LOGIN_LOCKING_EMAIL_TO=fase-support@stfc.ac.uk + LOGIN_LOCKING_EMAIL_FROM=isisuo@stfc.ac.uk + #JWT config jwt.issuer=auth-service-quarkus smallrye.jwt.sign.key.location=private.key