Get user details from access token

oauth

#1

Hi,
How can we get logged-in user details after getting access token? Is there an endpoint which takes access-token/user-id and provide logged in user details like email, user name, first name, last name etc?

We are integrating hubspot OAuth with loopback and passport.

Thanks
Ankit


#2

Hi @ankittya,

When a user authorizes an app, the access/refresh token provided are tied to the portal, not the user. It’s not currently possible to pull user information from HubSpot.