https://kotlinlang.org logo
#ktor
Title
# ktor
h

Hamza GATTAL

12/06/2020, 4:38 PM
Hi everyone I'm using jwt auth I don't understand how I set the values of domain, audience and realm in the application.conf Should anyone explain to me how get that values and set it in my project
K 2
m

manlan

12/08/2020, 7:03 PM
Define those as environment variables on your machine, and read them in your code as
Copy code
application.environment.config.propertyOrNull("jwtConfig.realm")?.getString()
2 Views