2017-10-23 21:42:30 +00:00
|
|
|
Feature: Register secret for second factor
|
|
|
|
|
|
|
|
Scenario: Register a TOTP secret with correct label and issuer
|
2017-11-02 20:34:07 +00:00
|
|
|
Given I visit "https://login.example.com:8080/"
|
2017-10-23 21:42:30 +00:00
|
|
|
And I login with user "john" and password "password"
|
|
|
|
When I register a TOTP secret called "Sec0"
|
|
|
|
Then the otpauth url has label "john" and issuer "authelia.com"
|
|
|
|
|
|
|
|
@needs-totp_issuer-config
|
|
|
|
Scenario: Register a TOTP secret with correct label and custom issuer
|
2017-11-02 20:34:07 +00:00
|
|
|
Given I visit "https://login.example.com:8080/"
|
2017-10-23 21:42:30 +00:00
|
|
|
And I login with user "john" and password "password"
|
|
|
|
When I register a TOTP secret called "Sec0"
|
|
|
|
Then the otpauth url has label "john" and issuer "custom.com"
|