2017-07-27 04:45:26 +07:00
Feature : Authelia keeps user sessions despite the application restart
Scenario : Session is still valid after Authelia restarts
When I r e g i s t e r T O T P a n d 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 "
And t h e a p p l i c a t i o n r e s t a r t s
Then I h a v e a c c e s s t o :
| u r l |
| h t t p s : / / s e c r e t . 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-03 03:38:26 +07:00
Scenario : Secrets are stored even when Authelia restarts
Given I v i s i t " h t t p s : / / a u t h . t e s t . l o c a l : 8 0 8 0 / "
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 "
And I r e g i s t e r a T O T P s e c r e t c a l l e d " S e c 0 "
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-22 22:53:18 +07:00
And I v i s i t " h t t p s : / / s e c r e t . 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 s e c r e t . 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-03 03:38:26 +07: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 "
And I u s e " S e c 0 " a s T O T P t o k e n h a n d l e
And I c l i c k o n " T O T P "
Then I h a v e a c c e s s t o :
| u r l |
| h t t p s : / / s e c r e t . t e s t . l o c a l : 8 0 8 0 / s e c r e t . h t m l |