forked from Cookies_Public/AquaDX
[+] JWT authentication settings
This commit is contained in:
parent
9c4f146778
commit
2815d76b1d
@ -71,6 +71,11 @@ dependencies {
|
|||||||
|
|
||||||
// GeoIP
|
// GeoIP
|
||||||
implementation("com.maxmind.geoip2:geoip2:4.2.0")
|
implementation("com.maxmind.geoip2:geoip2:4.2.0")
|
||||||
|
|
||||||
|
// JWT Authentication
|
||||||
|
implementation("io.jsonwebtoken:jjwt-api:0.12.5")
|
||||||
|
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.5")
|
||||||
|
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.5")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "icu.samnya"
|
group = "icu.samnya"
|
||||||
|
|||||||
@ -110,3 +110,6 @@ simplejavamail.smtp.password=<password>
|
|||||||
## GeoIP Settings (Powered by MaxMind GeoLite2)
|
## GeoIP Settings (Powered by MaxMind GeoLite2)
|
||||||
aqua-net.geoip.path=data/GeoLite2-Country.mmdb
|
aqua-net.geoip.path=data/GeoLite2-Country.mmdb
|
||||||
aqua-net.geoip.ip-header=CF-Connecting-IP
|
aqua-net.geoip.ip-header=CF-Connecting-IP
|
||||||
|
|
||||||
|
## JWT Authentication Settings
|
||||||
|
aqua-net.jwt.secret="Open Sesame!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user