-
Notifications
You must be signed in to change notification settings - Fork 18
Add Verification Emails
The project has the feature sending of validation emails for verification.
The project sends on signin a email to the user and waits that the user uses the provided link. The server login is only possible after verification.
To enable the feature some application properties have to be set:
spring.mail.host=Dns name of the mail server
spring.mail.port=Port of the mail server
messenger.url.uuid.confirm=Url of the confirm endpoint. For example: "http://localhost:8080/rest/auth/confirm"
spring.mail.username=mail server username
spring.mail.password=mail server password
If the property messenger.url.uuid.confirm is not set the feature is switched off.
For testing it is possible to create a Gmail account and configure it to allow remote access to the smtp server. For a real deployment the providers smtp server should be used.