Get user info based on their OAuth Token

sieusaopolo15
Tera Guru

I'm using postman to generate OAuth Token for specific users in my instance and I wonder if there is a way to get user info based on their tokens ?

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@sieusaopolo15 

which user info you wish to get?

What's your business requirement here?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I generated couple tokens days ago but I forgot to note down whose token belongs to. I know that there is a table called OAuth Credentials but it seems like the token received value isn't recorded only the token hash value

@sieusaopolo15 

yes there is a table in left manage tokens, it will show the details.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

But looking into the table's record the token received for my user always show black dot and there is no value only token hash value is present. Is there any table which contains more information like these ?

sieusaopolo15_0-1738564623873.png