Skip to content

Commit 684f915

Browse files
committed
Add MFA fallback test
1 parent 79cd57c commit 684f915

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

stepup/tests/behat/features/sfo_gssp_fallback.feature

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@ Feature: A user authenticates with a service provider configured for second-fact
33
As a user
44
I must verify the second factor without authenticating with an identity provider
55

6-
Scenario: A user logs in using SFO using a GSSP token
6+
Scenario: A user logs in using SFO using a GSSP token to an institution with GSSP fallback enabled
77
Given a service provider configured for second-factor-only with loa 1.5
88
And a user "jane-a1" identified by "urn:collab:person:institution-a.example.com:jane-a1" from institution "institution-a.example.com" with UUID "00000000-0000-4000-8000-000000000001"
99
When I start an SFO authentication for "urn:collab:person:institution-a.example.com:jane-a1" with GSSP extension subject "jane-a1@institution-a.example.com" and institution "institution-a.example.com"
1010
And I verify the azuremfa gssp second factor with email address "jane-a1@institution-a.example.com"
1111
Then I am logged on the service provider
1212

13-
Scenario: A user cancels SFO authn with a gssp token
13+
Scenario: A user cancels SFO authn with a GSSP token
1414
Given a service provider configured for second-factor-only with loa 1.5
1515
When I start an SFO authentication for "urn:collab:person:institution-a.example.com:jane-a1" with GSSP extension subject "jane-a1@institution-a.example.com" and institution "institution-a.example.com"
1616
And I cancel the "azuremfa-gssp" second factor authentication
1717
Then I see an error at the service provider
18+
19+
Scenario: A user logs in using SFO using a GSSP token to an institution with GSSP fallback disabled
20+
Given a service provider configured for second-factor-only with loa 1.5
21+
And a user "jane-b1" identified by "urn:collab:person:institution-b.example.com:jane-b1" from institution "institution-b.example.com" with UUID "00000000-0000-4000-8000-000000000002"
22+
When I start an SFO authentication for "urn:collab:person:institution-b.example.com:jane-b1" with GSSP extension subject "jane-b1@institution-b.example.com" and institution "institution-b.example.com"
23+
And I Submit the SAML Post
24+
Then I see an error at the service provider
25+

0 commit comments

Comments
 (0)