Skip to content

Commit

Permalink
Update to Keycloak 21.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and jacekkow committed Mar 2, 2023
1 parent 58cce9e commit 2e8d513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>org.keycloak</groupId>
<artifactId>keycloak-protocol-cas</artifactId>
<version>21.0.0</version>
<version>21.0.1</version>
<name>Keycloak CAS Protocol</name>
<description />

Expand All @@ -36,7 +36,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.outputTimestamp>1677228457</project.build.outputTimestamp>
<project.build.outputTimestamp>1677746918</project.build.outputTimestamp>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public Response authenticated(AuthenticationSessionModel authSession, UserSessio

OAuth2Code codeData = new OAuth2Code(UUID.randomUUID().toString(),
Time.currentTime() + userSession.getRealm().getAccessCodeLifespan(),
null, null, authSession.getRedirectUri(), null, null);
null, null, authSession.getRedirectUri(), null, null,
userSession.getId());
String code = OAuth2CodeParser.persistCode(session, clientSession, codeData);

KeycloakUriBuilder uriBuilder = KeycloakUriBuilder.fromUri(service);
Expand Down

0 comments on commit 2e8d513

Please sign in to comment.