OAuth - Get logged in user's information

Hi,

I'm using implicit grant so users get a token to make API calls (https://developer.mypurecloud.com/api/tutorials/oauth-implicit/?language=javascript&step=1).

However this only gets me a token back. Is it also possible to get the user's - who has just logged in - info, like name or e-mail?

The reason I'm asking, is because I have a tool with several pages, and I want users to only see the pages I want them to see. For this I will need the currently logged on user's information.

I know I could do this using a second log on page + database, but I'd prefer it if users only need to log on once.

Check out this route:
GET /api/v2/users/me

--Jason

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.