How to set profile picture/avatar when logging in with generic oauth provider?

How can I automatically set a user’s profile picture/avatar when they log in via a generic oauth provider?

Is it a field in the userinfo schema that grafana reads? Is this something standard in userinfo fields? Sorry that I might be missing some general experience in this regard, but I tried looking into the grafana source code regarding this but didn’t see anything that stuck out to me as the relevant part of the code to answer the question. I suspect it may not be possible, but it would be nice to confirm this – perhaps I may even be able to contribute back if I figure out why/where in the codebase this limitation exists.

thanks for reading!