2017-07-26 21:45:26 +00:00
|
|
|
Feature: Authelia keeps user sessions despite the application restart
|
|
|
|
|
2017-09-21 20:07:34 +00:00
|
|
|
@need-authenticated-user-john
|
2017-07-26 21:45:26 +00:00
|
|
|
Scenario: Session is still valid after Authelia restarts
|
2017-09-21 20:07:34 +00:00
|
|
|
When the application restarts
|
2018-03-28 22:04:59 +00:00
|
|
|
Then I have access to "https://admin.example.com:8080/secret.html"
|
2017-09-02 20:38:26 +00:00
|
|
|
|
2017-09-21 20:07:34 +00:00
|
|
|
@need-registered-user-john
|
2017-09-02 20:38:26 +00:00
|
|
|
Scenario: Secrets are stored even when Authelia restarts
|
|
|
|
When the application restarts
|
2018-04-25 07:30:21 +00:00
|
|
|
And I visit "https://admin.example.com:8080/secret.html" and get redirected "https://login.example.com:8080/?rd=https://admin.example.com:8080/secret.html"
|
2017-09-02 20:38:26 +00:00
|
|
|
And I login with user "john" and password "password"
|
2017-09-21 20:07:34 +00:00
|
|
|
And I use "REGISTERED" as TOTP token handle
|
2017-10-21 23:23:26 +00:00
|
|
|
And I click on "Sign in"
|
2018-04-25 07:30:21 +00:00
|
|
|
Then I'm redirected to "https://admin.example.com:8080/secret.html"
|