Tests in SecurityMockServerConfigurerOpaqueTokenTests, SecurityMockServerConfigurersJwtTests and SecurityMockServerConfigurersOidcLoginTests are failing with a 500 error.

Error:

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.Instant` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: org.springframework.security.core.context.SecurityContextImpl["authentication"]->org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken["principal"]->org.springframework.security.oauth2.jwt.Jwt["issuedAt"])

Comment From: eleftherias

Closed via 923a14c