# אמת שהשם משתמש שהוזן הוא שלהם או קבל את שם המשתמש או את הסטטיסטיקות שלהם לאחר הכניסה

**URL:** <https://meta.discourse.org/t/verify-that-entered-username-is-theirs-or-get-the-username-or-their-stats-after-getting-logged-in/230846>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [23 ביוני,‏ 2022,‏ 6:51am UTC](https://meta.discourse.org/t/verify-that-entered-username-is-theirs-or-get-the-username-or-their-stats-after-getting-logged-in/230846 "2022-06-23T06:51:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![creamit](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@creamit](https://meta.discourse.org/u/creamit)\
**Post date:** [23 ביוני,‏ 2022,‏ 6:51am UTC](https://meta.discourse.org/t/verify-that-entered-username-is-theirs-or-get-the-username-or-their-stats-after-getting-logged-in/230846/1 "2022-06-23T06:51:53Z")

</div>

Not getting into details but I am making a web portal which gives users a reputation on the basis of some parameters defined by us. For that, we need to fetch the summary(/u/{username}/summary.json) details. But later I realised anyone can enter any username and can hijack other’s reputation. May you suggest any optimal way where I can simply get that user’s summary only? Also, It is a web portal so I am getting cors errors too(which I kind of compensated by using a cors-anywhere server) May you suggest standard ways of discourse to handle it?

---

_[View the full topic](https://meta.discourse.org/t/verify-that-entered-username-is-theirs-or-get-the-username-or-their-stats-after-getting-logged-in/230846)._
