<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AE4EZpCQNOkta Classic EngineAPI Access ManagementAnswered2024-08-05T15:12:53.000Z2024-08-02T04:08:31.000Z2024-08-05T15:12:53.000Z
How to get the scope of access token using golang sdk

I created an access token using okta console and I use that token to fetch information in my golang app using okta go sdk(github.com/okta/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.

If this is not the platform to ask this kindly redirect me to relevant space.


  • User17157611498146715886 (Customer Support Online Community and Social Care)

    Hi @User17225710912421852932 (Customer)​ , thank you for contacting Okta Community!

    I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com  as they will have more insight into this topic. 

     

    While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).

     

    Regards. 

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

     

     

    Expand Post
This question is closed.
Loading
How to get the scope of access token using golang sdk