Add iat to JWT passed to CIBA HttpAuthenticationChannel (#21280)

Closes #21283
This commit is contained in:
Fouad Almalki 2023-06-29 08:55:57 +03:00 committed by GitHub
parent 51a9712e59
commit b336732251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,6 +103,7 @@ public class HttpAuthenticationChannelProvider implements AuthenticationChannelP
bearerToken.id(request.getAuthResultId()); bearerToken.id(request.getAuthResultId());
bearerToken.issuedFor(client.getClientId()); bearerToken.issuedFor(client.getClientId());
bearerToken.audience(request.getIssuer()); bearerToken.audience(request.getIssuer());
bearerToken.iat(request.getIat());
bearerToken.exp(request.getExp()); bearerToken.exp(request.getExp());
bearerToken.subject(request.getSubject()); bearerToken.subject(request.getSubject());