forked from keycloak/keycloak
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling of changed profile information during sign-up when review pr…
…ofile is set to "missing" or T&C is requested
- Loading branch information
cgeorgilakis-grnet
committed
Dec 13, 2024
1 parent
c1ddf8e
commit 33c53bf
Showing
10 changed files
with
78 additions
and
21 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ public void testErrorExistingUserWithUpdateProfile() { | |
|
||
waitForPage(driver, "account already exists", false); | ||
assertTrue(idpConfirmLinkPage.isCurrent()); | ||
assertEquals("User with username consumer already exists. How do you want to continue?", idpConfirmLinkPage.getMessage()); | ||
assertEquals("User with email [email protected] already exists. How do you want to continue?", idpConfirmLinkPage.getMessage()); | ||
} | ||
|
||
|
||
|
@@ -870,6 +870,8 @@ public void testVerifyEmailRequiredActionWhenChangingEmailDuringFirstLogin() { | |
|
||
realm.update(realmRep); | ||
|
||
updateExecutions(AbstractBrokerTest::enableUpdateProfileOnFirstLogin); | ||
|
||
IdentityProviderRepresentation idpRep = identityProviderResource.toRepresentation(); | ||
|
||
idpRep.setTrustEmail(true); | ||
|
@@ -1088,7 +1090,7 @@ public void testEventsOnUpdateProfileNoEmailChange() { | |
|
||
@Test | ||
public void testEventsOnUpdateProfileWithEmailChange() { | ||
updateExecutions(AbstractBrokerTest::setUpMissingUpdateProfileOnFirstLogin); | ||
updateExecutions(AbstractBrokerTest::enableUpdateProfileOnFirstLogin); | ||
|
||
createUser(bc.providerRealmName(), "no-first-name", "password", null, "LastName", "[email protected]"); | ||
|
||
|
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 |
---|---|---|
|
@@ -269,7 +269,7 @@ public void testLoginWithDifferentBrokerWhenUpdatingProfile() { | |
|
||
@Test | ||
public void testEditUsername() { | ||
updateExecutions(AbstractBrokerTest::setUpMissingUpdateProfileOnFirstLogin); | ||
updateExecutions(AbstractBrokerTest::enableUpdateProfileOnFirstLogin); | ||
|
||
createUser(bc.providerRealmName(), "no-first-name", "password", null, | ||
"LastName", "[email protected]"); | ||
|
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