You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what it looks like, the user blueprint MUST have field "avatar" and this field MUST be of type asset. This approach does not work when working with external authentication providers.
I am using the Socialite provider "microsoft" and this provider returns the avatar base64-encoded. This value is just ignored by Statamic, even using data:image/png;base64, XXX as a value does not work. The provider could also return a full URI.
From what it looks like, the user blueprint MUST have field "avatar" and this field MUST be of type asset. This approach does not work when working with external authentication providers.
https://github.com/statamic/cms/blob/85265e6e987ec2c5f1566fdd01b22f2d7a3ad89d/src/Auth/HasAvatar.php#L17
I am using the Socialite provider "microsoft" and this provider returns the avatar base64-encoded. This value is just ignored by Statamic, even using
data:image/png;base64, XXX
as a value does not work. The provider could also return a full URI.How to reproduce
AppServiceProvider.php
The text was updated successfully, but these errors were encountered: