2017-12-04 21:39:55 +00:00
|
|
|
Feature: Generic tests on Authelia endpoints
|
|
|
|
|
|
|
|
Scenario: /api/verify replies with error when redirect parameter is not provided
|
|
|
|
When I query "https://authelia.example.com:8080/api/verify"
|
|
|
|
Then I get error code 401
|
|
|
|
|
|
|
|
Scenario: /api/verify redirects when redirect parameter is provided
|
2018-04-24 21:03:05 +00:00
|
|
|
When I query "https://authelia.example.com:8080/api/verify?rd=http://login.example.com:8080"
|
2017-12-04 21:39:55 +00:00
|
|
|
Then I get redirected to "http://login.example.com:8080"
|