-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathapplication.yml
78 lines (70 loc) · 1.71 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
server:
servlet:
session:
cookie:
same-site: lax
spring:
mail:
host: ${MAIL_HOST:smtp.gmail.com}
port: ${MAIL_PORT:587}
username: ${MAIL_USERNAME}
password: ${MAIL_PASSWORD}
protocol: smtp
tls: true
properties.mail.smtp:
auth: true
starttls.enable: true
ssl.trust: ${MAIL_SSL_TRUST_HOST:smtp.gmail.com}
datasource:
url: jdbc:h2:mem:testdb
username: sa
password: password
driverClassName: org.h2.Driver
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: none
liquibase:
change-log: classpath:db/changelog/db.changelog-master.xml
otp:
attempts: 5
resendAllowedAfterMinutes: 1
settings:
#dummy OTP sender
- id: "sms"
name: "Dummy SMS OTP Setting"
messageTitle: "Acme LLC"
messageTemplate: "Confirmation code: ${otp}"
otpLength: 5
useLetters: false
useDigits: true
ttlMinutes: 3
sender: "dummyOTPSender"
#Twilio SMS Sender
- id: "twilioSms"
name: "Twilio SMS OTP Setting"
messageTitle: "Acme LLC"
messageTemplate: "Confirmation code: ${otp}"
otpLength: 5
useLetters: false
useDigits: true
ttlMinutes: 3
sender: "twilioOTPSender"
#Email OTP Link Sender
- id: "email"
name: "TEST Email"
messageTitle: "Thank yor for registration"
messageTemplate: "Temporary link: http://acme.com?link=${otp}"
otpLength: 36
useLetters: true
useDigits: true
ttlMinutes: 180 #three hours
sender: "emailOTPSender"
webauthn:
settings:
timeout: 60000
rpId: localhost
origin: 'http://localhost:8080'
totp:
issuer: "acme.com"
issuerLabel: "Acme LLC"