Summary
Add a profile-gated sample RegistrationGuard implementation to the demo app so consumers have a concrete, copy-paste reference for using the Registration Guard SPI.
Related
Approach
- Create a
DomainRegistrationGuard component gated behind the registration-guard Spring profile
- Allows only
@example.com emails for form/passwordless registration, permits all OAuth2/OIDC
- Does not affect normal demo app usage or Playwright tests
Acceptance Criteria
Summary
Add a profile-gated sample
RegistrationGuardimplementation to the demo app so consumers have a concrete, copy-paste reference for using the Registration Guard SPI.Related
Approach
DomainRegistrationGuardcomponent gated behind theregistration-guardSpring profile@example.comemails for form/passwordless registration, permits all OAuth2/OIDCAcceptance Criteria
registration-guardprofile is active