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 t h e a p p l i c a t i o n r e s t a r t s
2017-07-26 21:45:26 +00:00
Then I h a v e a c c e s s t o :
| u r l |
2017-09-03 13:22:09 +00:00
| h t t p s : / / a d m i n . t e s t . l o c a l : 8 0 8 0 / s e c r e t . h t m l |
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 t h e a p p l i c a t i o n r e s t a r t s
2017-09-03 13:22:09 +00:00
And I v i s i t " h t t p s : / / a d m i n . t e s t . l o c a l : 8 0 8 0 / s e c r e t . h t m l " a n d g e t r e d i r e c t e d " h t t p s : / / a u t h . t e s t . l o c a l : 8 0 8 0 / ? r e d i r e c t = h t t p s % 3 A % 2 F % 2 F a d m i n . t e s t . l o c a l % 3 A 8 0 8 0 % 2 F s e c r e t . h t m l "
2017-09-02 20:38:26 +00:00
And I l o g i n w i t h u s e r " j o h n " a n d p a s s w o r d " p a s s w o r d "
2017-09-21 20:07:34 +00:00
And I u s e " R E G I S T E R E D " a s T O T P t o k e n h a n d l e
2017-09-02 20:38:26 +00:00
And I c l i c k o n " T O T P "
2017-09-24 21:19:03 +00:00
Then I ' m r e d i r e c t e d t o " h t t p s : / / a d m i n . t e s t . l o c a l : 8 0 8 0 / s e c r e t . h t m l "