zitadel
zitadel copied to clipboard
[Bug]: Send `picture` path also when profile picture is not set
Preflight Checklist
- [x] I could not find a solution in the documentation, the existing issues or discussions
- [ ] I have joined the ZITADEL chat
Environment
ZITADEL Cloud
Version
No response
Database
None
Database Version
No response
Describe the problem caused by this bug
New auth.js 5.0 requires the picture / image path read to be a set with a URL. When the user has not set a user profile picture the JWT does not contain the picture - path claim.
To reproduce
Get JWT user with no profile picture -> No picture-path in JWT
Screenshots
No response
Expected behavior
No response
Operating System
No response
Relevant Configuration
No response
Additional Context
No response