jhipster session timeout configuration
This is a Spring Boot configuration.
You can configure it in your application-*.yml
file:
server:
port: 8080
address: localhost
sessionTimeout: 20000
in your application-*.yml file:
server:
port: 8080
address: localhost
sessionTimeout: 20000
is OK for 20 minutes but if you want to have more 30 minutes your access Token validity ("tokenValidityInSeconds" attribute) is 30 minutes by default. You can configue this attribute in application.yml file.
Example for 3 hours = 180 minutes = 10800 secondes:
authentication:
oauth:
clientid: testspsyapp
secret: mySecretOAuthSecret
# Token is valid 3 hours
tokenValidityInSeconds: 10800
Do not to forget the changes "sessionTimeout" attribut to your application-*.yml file :)
server:
port: 8080
address: localhost
sessionTimeout: 180000