About oauth to get user info

In Hawthorn , I can get the user information from https://[my_domain]/oauth2/user_info ,
But in Juniper , How I could get the user info? (I have already set the scope [email,profile,user_id])

1 Like

Hi @guangyaw,

You can use GET /api/user/v1/me to get the username of the current user (if you don’t know it), and then use GET /api/user/v1/accounts/{username} to get a user’s profile, if you have permission. Does that cover your needs?

Thank you, @braden .
I try the mobile api to get what I need:
/api/mobile/v0.5/my_user_info

By the way, does Open edX have the official resource server url for Oauth2?

Sorry, I’m not sure what you’re asking.