
У меня есть следующие свойства приложения:
jwt.private=${PRIVATE_KEY}
#MySQL Connection
spring.application.name=BookStoreAPI
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/bookstore?allowPublicKeyRetrieval=true
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
spring.jpa.hibernate.ddl-auto=create
spring.mail.host=${GMAIL_HOST}
spring.mail.port=${SENDER_PORT}
spring.mail.username=${EMAIL}
spring.mail.password=${PASSWORD}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
Подробнее здесь: https://stackoverflow.com/questions/792 ... ot-allowed