<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
0D54z00007NaOtWCAVOkta Classic EngineAPI Access ManagementAnswered2022-01-13T17:16:48.000Z2022-01-11T16:49:28.000Z2022-01-13T17:16:48.000Z

PratikS.64009 (Customer) asked a question.

Issue with WebAPI Project Integration

Hi Okta Developer Team,

 

I am doing Okta Integration with API and I am trying with below sample web api project for .Net 4.x:-

 

samples-aspnet/resource-server at master · okta/samples-aspnet · GitHub

 

I am getting token from Postman but I am getting unauthorized response from API calls in project. My domain value and other configuration is good. Please help me resolve this issue.

 

Thanks,

Pratik

 

 


  • Hello @PratikS.64009 (Customer)​ 

    I hope you are having a great day

     

    In this scenario I suggest you verify and confirm if the postman integration has been done properly, you can check the process in the following link: https://developer.okta.com/code/rest/#find-ids-for-okta-api-requests

     

    If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com this is a place for the Okta developer community to interact

     

    Have a great day ahead

    Regards

     

    Henry Esquivel

    Okta Inc

    Expand Post
  • PratikS.64009 (Customer)

    Hi Henry,

     

    Thanks for your reply.

     

    My postman call are working fine with Token. Please find below screen shot,

     

    I have issue with sample web api project and doing integration with our client okta app.

     

    image

    Expand Post
  • PratikS.64009 (Customer)

    My issue is resolved now. My client okta app needs to add Default authorisation policy and that resolved my issue with API integration.

This question is closed.
Loading
Issue with WebAPI Project Integration