Closed CedricReichenbach closed 5 years ago
Currently, it seems to be 12 hours, which seems way too short. Set it to something like 30 days.
Docs: https://www.silhouette.rocks/docs/config-authenticators Source: https://github.com/mohiva/play-silhouette/blob/master/silhouette/app/com/mohiva/play/silhouette/impl/authenticators/BearerTokenAuthenticator.scala
Change config in: https://github.com/upkbs-chronobiology/somnus/blob/7f493d4df466eb338c2bbbc83cf55a36494c15d3/app/modules/SilhouetteModule.scala
Perhaps differentiate based on environment (app vs. web), or let user set a tick ("keep me logged in").
Currently, it seems to be 12 hours, which seems way too short. Set it to something like 30 days.
Docs: https://www.silhouette.rocks/docs/config-authenticators Source: https://github.com/mohiva/play-silhouette/blob/master/silhouette/app/com/mohiva/play/silhouette/impl/authenticators/BearerTokenAuthenticator.scala
Change config in: https://github.com/upkbs-chronobiology/somnus/blob/7f493d4df466eb338c2bbbc83cf55a36494c15d3/app/modules/SilhouetteModule.scala