-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1208 from adorsys/fix/auth-flow-deletion-with-idp…
…-reference fix authentication flow error when it's referenced as an IdP
- Loading branch information
Showing
6 changed files
with
196 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/test/resources/import-files/auth-flows/66a_initialize_realm_with_custom_flow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"enabled": true, | ||
"realm": "realmWithFlow", | ||
"identityProviders": [ | ||
{ | ||
"alias": "saml-with-custom-flow", | ||
"providerId": "saml", | ||
"enabled": true, | ||
"updateProfileFirstLoginMode": "on", | ||
"trustEmail": true, | ||
"storeToken": false, | ||
"addReadTokenRoleOnCreate": true, | ||
"authenticateByDefault": false, | ||
"linkOnly": false, | ||
"firstBrokerLoginFlowAlias": "my custom first login flow", | ||
"postBrokerLoginFlowAlias": "my custom post login flow", | ||
"config": {} | ||
} | ||
], | ||
"authenticationFlows": [ | ||
{ | ||
"alias": "my custom first login flow", | ||
"description": "My auth first login for testing", | ||
"providerId": "basic-flow", | ||
"topLevel": true, | ||
"builtIn": false, | ||
"authenticationExecutions": [ | ||
{ | ||
"authenticator": "docker-http-basic-authenticator", | ||
"requirement": "DISABLED", | ||
"priority": 0, | ||
"userSetupAllowed": false, | ||
"autheticatorFlow": false | ||
} | ||
] | ||
}, | ||
{ | ||
"alias": "my custom post login flow", | ||
"description": "My auth post login for testing", | ||
"providerId": "basic-flow", | ||
"topLevel": true, | ||
"builtIn": false, | ||
"authenticationExecutions": [ | ||
{ | ||
"authenticator": "docker-http-basic-authenticator", | ||
"requirement": "DISABLED", | ||
"priority": 0, | ||
"userSetupAllowed": false, | ||
"autheticatorFlow": false | ||
} | ||
] | ||
} | ||
] | ||
} |
41 changes: 41 additions & 0 deletions
41
...test/resources/import-files/auth-flows/66b_try_delete_referenced_authentication_flow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"enabled": true, | ||
"realm": "realmWithFlow", | ||
"identityProviders": [ | ||
{ | ||
"alias": "saml-with-custom-flow", | ||
"providerId": "saml", | ||
"enabled": true, | ||
"updateProfileFirstLoginMode": "on", | ||
"trustEmail": true, | ||
"storeToken": false, | ||
"addReadTokenRoleOnCreate": true, | ||
"authenticateByDefault": false, | ||
"linkOnly": false, | ||
"firstBrokerLoginFlowAlias": "my custom first login flow", | ||
"postBrokerLoginFlowAlias": "", | ||
"config": {} | ||
} | ||
], | ||
"authenticationFlows": [ | ||
{ | ||
"alias": "my custom first login flow", | ||
"description": "My auth first login for testing", | ||
"providerId": "basic-flow", | ||
"topLevel": true, | ||
"builtIn": false, | ||
"authenticationExecutions": [ | ||
{ | ||
"authenticator": "docker-http-basic-authenticator", | ||
"requirement": "DISABLED", | ||
"priority": 0, | ||
"userSetupAllowed": false, | ||
"autheticatorFlow": false | ||
} | ||
] | ||
} | ||
] | ||
} | ||
|
||
|
||
|