Skip to content

Commit 57e34ee

Browse files
update: new tests to check credential_identifiers persistence in user sessionn
1 parent f3aefac commit 57e34ee

File tree

3 files changed

+595
-2
lines changed

3 files changed

+595
-2
lines changed

services/src/main/java/org/keycloak/protocol/oidc/grants/OAuth2GrantTypeBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ protected List<AuthorizationDetailResponse> processAuthorizationDetails(UserSess
305305
String noteKey = "credential_identifier_" + credentialConfigurationId;
306306
String existingIdentifier = userSession.getNote(noteKey);
307307
List<String> credentialIdentifiers = new ArrayList<>();
308-
308+
309309
if (existingIdentifier != null) {
310310
credentialIdentifiers.add(existingIdentifier);
311311
} else {
@@ -342,7 +342,7 @@ protected List<AuthorizationDetailResponse> processAuthorizationDetails(UserSess
342342
String noteKey = "credential_identifier_" + format;
343343
String existingIdentifier = userSession.getNote(noteKey);
344344
List<String> credentialIdentifiers = new ArrayList<>();
345-
345+
346346
if (existingIdentifier != null) {
347347
credentialIdentifiers.add(existingIdentifier);
348348
} else {

0 commit comments

Comments
 (0)