2017-07-27 04:45:26 +07:00
|
|
|
Feature: Non authenticated users have no access to certain pages
|
|
|
|
|
2017-09-22 03:07:34 +07:00
|
|
|
Scenario Outline: Anonymous user has no access to protected pages
|
2017-07-27 04:45:26 +07:00
|
|
|
When I visit "<url>"
|
|
|
|
Then I get an error <error code>
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| url | error code |
|
|
|
|
| https://auth.test.local:8080/secondfactor | 401 |
|
|
|
|
| https://auth.test.local:8080/verify | 401 |
|
|
|
|
| https://auth.test.local:8080/secondfactor/u2f/identity/start | 401 |
|
2017-10-11 04:03:30 +07:00
|
|
|
| https://auth.test.local:8080/secondfactor/u2f/identity/finish | 401 |
|
2017-07-27 04:45:26 +07:00
|
|
|
| https://auth.test.local:8080/secondfactor/totp/identity/start | 401 |
|
2017-10-11 04:03:30 +07:00
|
|
|
| https://auth.test.local:8080/secondfactor/totp/identity/finish | 401 |
|
|
|
|
| https://auth.test.local:8080/password-reset/identity/start | 401 |
|
|
|
|
| https://auth.test.local:8080/password-reset/identity/finish | 401 |
|