mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a8974a9d8e
Warning: you will need to update your /etc/hosts to take this change into account for the example environment to work.
17 lines
809 B
Gherkin
17 lines
809 B
Gherkin
@needs-single_factor-config
|
|
Feature: Server is configured as a single factor only server
|
|
|
|
@need-registered-user-john
|
|
Scenario: User is redirected to service after first factor if allowed
|
|
When I visit "https://login.example.com:8080/?redirect=https%3A%2F%2Fpublic.example.com%3A8080%2Fsecret.html"
|
|
And I login with user "john" and password "password"
|
|
Then I'm redirected to "https://public.example.com:8080/secret.html"
|
|
|
|
@need-registered-user-john
|
|
Scenario: User is correctly redirected according to default redirection URL
|
|
When I visit "https://login.example.com:8080"
|
|
And I login with user "john" and password "password"
|
|
Then I'm redirected to "https://login.example.com:8080/loggedin"
|
|
And I sleep for 5 seconds
|
|
Then I'm redirected to "https://home.example.com:8080/"
|