oidc icon indicating copy to clipboard operation
oidc copied to clipboard

Avatar / profile photo claim

Open madduck opened this issue 2 years ago • 3 comments

Any chance the avatar / profile photo of Nextcloud could be made available in a special scope?

madduck avatar Aug 05 '23 01:08 madduck

When using the scope profile the claim picture could be added, which contains the profile photo.

H2CK avatar Aug 05 '23 22:08 H2CK

According to the OIDC standard the claim picture is used. The claim contains URL from where the avatar image can be downloaded. The current implementation in the referenced branch provides a data url, which browsers should be able to interpret. Since this feature might increase the size of the id token or the user info tremendously it must be explicitly activated in the settings. The branch will be released soon as version 0.7.0.

H2CK avatar Aug 06 '23 19:08 H2CK

Version 0.7.0 will be released in the next days. As alternative solution I try to investigate to use real urls provided by the Nextcloud instance.

H2CK avatar Aug 06 '23 19:08 H2CK