|
|
@ -169,7 +169,6 @@ public class TokenController extends PathHandler { |
|
|
|
|
|
|
|
|
|
|
|
private JwtClaims createIdTokenClaims(User user, Client client, String atHash) { |
|
|
|
private JwtClaims createIdTokenClaims(User user, Client client, String atHash) { |
|
|
|
var optNonce = authorizations.consumeNonce(user.uuid(), client.id()); |
|
|
|
var optNonce = authorizations.consumeNonce(user.uuid(), client.id()); |
|
|
|
optNonce.ifPresent(nonce -> LOG.log(System.Logger.Level.ERROR, "consumed nonce: %s", nonce)); |
|
|
|
|
|
|
|
JwtClaims claims = new JwtClaims(); |
|
|
|
JwtClaims claims = new JwtClaims(); |
|
|
|
|
|
|
|
|
|
|
|
// required claims:
|
|
|
|
// required claims:
|
|
|
|