Skip to content

VSN-2759/ feat(auth): representative login flow, Keycloak account sync, and welcome email templates for representative and passenger

fatima senan a demandé de fusionner feature/VSN-2759 vers develop
                                                                                                                                                                                            - The passenger login endpoint now detects whether the email belongs to a representative. If so, it authenticates via Keycloak and returns `userType: REPRESENTATIVE` along with the list of linked passengers. Passengers authenticate as before.
  • When a representative is created or their email is set for the first time, a Keycloak account is automatically provisioned and a welcome email is sent.
  • Duplicate account creation is prevented when multiple passengers share the same representative email.

Rapports de requête de fusion