I’m trying to get the oauth2 basic plugin working on a trial version of hosted Discourse. Everything seems to work, except for the oauth2 json avatar path
, so I suspect I’m just doing something wrong. The response to the user JSON request looks something like this:
{
"email": "an.email.address@gmail.com",
"id": 123,
"login": "anemailaddress",
"name": "An Email Address",
"medium_user_icon_url": "https://static.inaturalist.org/attachments/users/icons/61724/medium.jpg?1475527316",
"original_user_icon_url": "https://static.inaturalist.org/attachments/users/icons/61724/original.jpg?1475527316",
"user_icon_url": "https://static.inaturalist.org/attachments/users/icons/61724/thumb.jpg?1475527316"
}
I’ve set the oauth2 json avatar path
to original_user_icon_url
(I’ve tried medium_user_icon_url
, too), but every time I create a new account via OAuth, the user’s avatar image is just the default colored circle with the first letter of their name. Username, name, and email import just fine. This feels buggy, but am I just missing a configuration here?