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
Some OAuth providers (eg: Google) return a link to the avatar/photo as part of the UserMetadata. We should allow access to it in this struct.
Is your feature request related to a problem? Please describe.
Yes, I'd like to show a user's avatar in my app if it is available, but don't have a way to access it currently. Google provides a link to the avatar within the raw_user_meta_data. Possible that other providers do it too.
I think adding a Deserializable avatar_url and picture fields will suffice to extract it? Happy to PR if needed!
The text was updated successfully, but these errors were encountered:
Feature request
Some OAuth providers (eg: Google) return a link to the avatar/photo as part of the UserMetadata. We should allow access to it in this struct.
Is your feature request related to a problem? Please describe.
Yes, I'd like to show a user's avatar in my app if it is available, but don't have a way to access it currently. Google provides a link to the avatar within the
![Screenshot 2025-01-01 at 3 05 13 PM](https://private-user-images.githubusercontent.com/30227512/399553280-1147ae38-ff3d-4f8d-bb4d-9a63e38c5014.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDY1NDgsIm5iZiI6MTczOTQwNjI0OCwicGF0aCI6Ii8zMDIyNzUxMi8zOTk1NTMyODAtMTE0N2FlMzgtZmYzZC00ZjhkLWJiNGQtOWE2M2UzOGM1MDE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAwMjQwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkMTc1YTNmNmZlMWM1YTQ0MDkxZmQ4MDk0OGIwNDE5NDYyZjg0ZWE0ZDQxYTc2MjA3MDRmYjk2YTliZGRjZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NBB4ivA2hIsbWlZH0nVbt37cvQKv7Ull90-h_CvYLA4)
raw_user_meta_data
. Possible that other providers do it too.I think adding a Deserializable
avatar_url
andpicture
fields will suffice to extract it? Happy to PR if needed!The text was updated successfully, but these errors were encountered: