From c02abf335e403b1c140b33e3eb47a557f1f5fc6a Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Mon, 16 Mar 2026 15:59:05 -0300 Subject: [PATCH] add temporary error message for unavailable OIDC authentication in forms --- gatekeeper/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gatekeeper/forms.py b/gatekeeper/forms.py index 5e92110..09dca10 100644 --- a/gatekeeper/forms.py +++ b/gatekeeper/forms.py @@ -279,6 +279,7 @@ class AuthMethodForm(forms.ModelForm): except Exception: self.add_error('totp_secret', _('Invalid TOTP secret format. Must be a valid Base32 string.')) elif auth_type == 'oidc': + self.add_error('auth_type', _('OIDC authentication is temporarily unavailable and will be available soon.')) if totp_secret: self.add_error('totp_secret', _('TOTP secret must be empty for OIDC authentication.')) if cleaned_data.get('totp_pin'):