mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
9 lines
451 B
Gherkin
Executable File
9 lines
451 B
Gherkin
Executable File
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
|
|
When I query "https://authelia.example.com:8080/api/verify?rd=http://login.example.com:8080"
|
|
Then I get redirected to "http://login.example.com:8080" |