8000 Birthdate attribute causes exception in token creation · Issue #486 · scc-digitalhub/AAC · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Birthdate attribute causes exception in token creation #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elisanp opened this issue Jan 10, 2024 · 1 comment
Closed

Birthdate attribute causes exception in token creation #486

elisanp opened this issue Jan 10, 2024 · 1 comment
Labels

Comments

@elisanp
Copy link
Collaborator
elisanp commented Jan 10, 2024

As of commit 2bab5cd, when requesting a token with scope profile the following error occurs if the user attributes birthdate exists in the authentication context and it is formatted as yyyy-MM-dd:

ERROR i.s.aac.console.ConsoleExceptionHandler: error processing request: Java 8 date/time type java.time.LocalDate not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: it.smartcommunitylab.aac.profiles.model.OpenIdProfile["birthdate"])

@matteo-s
Copy link
Collaborator

should be close via 229f7db

@matteo-s matteo-s added the bug label Jan 10, 2024
matteo-s added a commit that referenced this issue Jan 11, 2024
fix #486: register time module to object mapper for serialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0