mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a8974a9d8e
Warning: you will need to update your /etc/hosts to take this change into account for the example environment to work.
14 lines
657 B
Gherkin
14 lines
657 B
Gherkin
Feature: Register secret for second factor
|
|
|
|
Scenario: Register a TOTP secret with correct label and issuer
|
|
Given I visit "https://login.example.com:8080/"
|
|
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
|
|
Given I visit "https://login.example.com:8080/"
|
|
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" |