OpenID - get avatar details?

I’ve implemented “Log in with OSM” using Auth0. I’m using the OIDC version as described at OAuth - OpenStreetMap Wiki

The only information sent back is the user’s ID and Preferred Username. There is no avatar image included.

I know I could make a separate API call to https://api.openstreetmap.org/api/0.6/user/98672.json to get the user’s picture.

Would it be possible to extend the OIDC to automatically include the user’s avatar?

1 Like