Title: user oauth error report
Last modified: December 11, 2021

---

# user oauth error report

 *  [Lana Codes](https://wordpress.org/support/users/lanacodes/)
 * (@lanacodes)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/user-oauth-error-report/)
 * The user profile has one of the following options: `Open Authentication / Application
   Password`
 * However, you use `get_current_user_id()` function everywhere. And this causes
   me that if I login with the `admin` user and go to edit the profile of `user1`,
   so edit another user profile, I will still see my own `admin` access token.

The topic ‘user oauth error report’ is closed to new replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Lana Codes](https://wordpress.org/support/users/lanacodes/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/user-oauth-error-report/)
 * Status: not resolved