forked from baron/baron-sso
Keep orgfront auto login fallback explicit
This commit is contained in:
@@ -61,7 +61,7 @@ func TestListLinkedRps_PriorityAndAggregation(t *testing.T) {
|
||||
"client_name": "OrgFront",
|
||||
"metadata": map[string]interface{}{
|
||||
"auto_login_supported": true,
|
||||
"auto_login_url": "http://localhost:5175/login?auto=1",
|
||||
"auto_login_url": "http://localhost:5175/login",
|
||||
},
|
||||
"redirect_uris": []string{
|
||||
"http://localhost:5175/auth/callback",
|
||||
@@ -197,7 +197,7 @@ func TestListLinkedRps_PriorityAndAggregation(t *testing.T) {
|
||||
}
|
||||
}
|
||||
assert.True(t, orgfrontItem.AutoLoginSupported)
|
||||
assert.Equal(t, "http://localhost:5175/login?auto=1", orgfrontItem.AutoLoginURL)
|
||||
assert.Equal(t, "http://localhost:5175/login", orgfrontItem.AutoLoginURL)
|
||||
assert.Equal(t, orgfrontItem.AutoLoginURL, orgfrontItem.InitURL)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user