# OAuth2 JSON Avatar-Pfad funktioniert nicht

**URL:** <https://meta.discourse.org/t/oauth2-json-avatar-path-not-working/108349>\
**Category:** Bug\
**Created:** [5. Februar 2019 um 00:08 UTC](https://meta.discourse.org/t/oauth2-json-avatar-path-not-working/108349 "2019-02-05T00:08:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [5. Februar 2019 um 14:54 UTC](https://meta.discourse.org/t/oauth2-json-avatar-path-not-working/108349/4 "2019-02-05T14:54:29Z")

</div>

Hi @kueda, I think I see the issue here. We didn’t fetch the avatar on the initial login - it only happened on subsequent logins. This should fix the problem:

[https://github.com/discourse/discourse-oauth2-basic/commit/090f63c4290672a4e399f7c68b84a4f896ca6d36](https://github.com/discourse/discourse-oauth2-basic/commit/090f63c4290672a4e399f7c68b84a4f896ca6d36)

~~Please update to the latest version of the plugin and see if that helps.~~

~~I see you’re on one of our trials. I’ll let you know once we’ve updated your site.~~

All up-to-date - let us know how you get on @kueda 🙂

---

_[View the full topic](https://meta.discourse.org/t/oauth2-json-avatar-path-not-working/108349)._
