I created an access token using okta console and I use that token to fetch information in my golang app using okta go sdk(okta-sdk-golang/v2/okta). What I want to know is that given I have a token what permission that token is assigned? This could be in any form, for example, list of apis token can access, list of resources token can access.
I would prefer if it can be done using go sdk but if there is any other method kindly let me know as well.
And I can of course know the permissions from okta console but I would like to know them inside my golang application.