2017-10-18 22:33:02 +00:00
|
|
|
Feature: User can access certain subdomains with single factor
|
2017-09-24 21:19:03 +00:00
|
|
|
|
|
|
|
@need-registered-user-john
|
|
|
|
Scenario: User is redirected to service after first factor if allowed
|
2017-10-19 20:33:10 +00:00
|
|
|
When I visit "https://auth.test.local:8080/?redirect=https%3A%2F%2Fsingle_factor.test.local%3A8080%2Fsecret.html"
|
2017-09-24 21:19:03 +00:00
|
|
|
And I login with user "john" and password "password"
|
2017-10-19 20:33:10 +00:00
|
|
|
Then I'm redirected to "https://single_factor.test.local:8080/secret.html"
|
2017-09-24 21:19:03 +00:00
|
|
|
|
|
|
|
@need-registered-user-john
|
2017-10-18 22:33:02 +00:00
|
|
|
Scenario: Redirection after first factor fails if single_factor not allowed. It redirects user to first factor.
|
2017-09-24 21:19:03 +00:00
|
|
|
When I visit "https://auth.test.local:8080/?redirect=https%3A%2F%2Fadmin.test.local%3A8080%2Fsecret.html"
|
|
|
|
And I login with user "john" and password "password"
|
2017-10-08 23:55:51 +00:00
|
|
|
Then I'm redirected to "https://auth.test.local:8080/?redirect=https%3A%2F%2Fadmin.test.local%3A8080%2Fsecret.html"
|