-
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.
Fix Initial Credentials Causes Update
- Loading branch information
1 parent
3d03500
commit 5207d3c
Showing
6 changed files
with
125 additions
and
1 deletion.
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
40 changes: 40 additions & 0 deletions
40
src/test/resources/import-files/users/15.0_update_realm_change_clientusers_password.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,40 @@ | ||
{ | ||
"enabled": true, | ||
"realm": "realmWithUsers", | ||
"users": [ | ||
{ | ||
"username": "myinitialclientuser", | ||
"email": "[email protected]", | ||
"enabled": true, | ||
"firstName": "My clientuser's firstname", | ||
"lastName": "My clientuser's lastname", | ||
"attributes": { | ||
"modifiedAt": ["2023-01-01T00:00:00Z"] | ||
}, | ||
"credentials": [ | ||
{ | ||
"type": "password", | ||
"userLabel": "initial", | ||
"value": "initialchangedclientuser123" | ||
} | ||
] | ||
} | ||
], | ||
"clients": [ | ||
{ | ||
"clientId": "moped-client", | ||
"name": "moped-client", | ||
"description": "Moped-Client", | ||
"enabled": true, | ||
"clientAuthenticatorType": "client-secret", | ||
"secret": "my-special-client-secret", | ||
"directAccessGrantsEnabled": true, | ||
"redirectUris": [ | ||
"*" | ||
], | ||
"webOrigins": [ | ||
"*" | ||
] | ||
} | ||
] | ||
} |
40 changes: 40 additions & 0 deletions
40
src/test/resources/import-files/users/15.1_update_realm_change_clientusers_password.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,40 @@ | ||
{ | ||
"enabled": true, | ||
"realm": "realmWithUsers", | ||
"users": [ | ||
{ | ||
"username": "myinitialclientuser", | ||
"email": "[email protected]", | ||
"enabled": true, | ||
"firstName": "My clientuser's firstname", | ||
"lastName": "My clientuser's lastname", | ||
"attributes": { | ||
"modifiedAt": ["2023-01-01T00:00:00Z"] | ||
}, | ||
"credentials": [ | ||
{ | ||
"type": "password", | ||
"userLabel": "initial", | ||
"value": "newInitialPassword123" | ||
} | ||
] | ||
} | ||
], | ||
"clients": [ | ||
{ | ||
"clientId": "moped-client", | ||
"name": "moped-client", | ||
"description": "Moped-Client", | ||
"enabled": true, | ||
"clientAuthenticatorType": "client-secret", | ||
"secret": "my-special-client-secret", | ||
"directAccessGrantsEnabled": true, | ||
"redirectUris": [ | ||
"*" | ||
], | ||
"webOrigins": [ | ||
"*" | ||
] | ||
} | ||
] | ||
} |