none
Adding AD OAuth to .NET Core (API Web App) RRS feed

  • Question

  • Hello!

    I registered an app within AD, configured it and got it working with Azure App Service (that I published today, just a simple app). Using POSTMan I am able to get the Token and pass as a Bearer and got it all working.

    This was super helpful: blogsofshri.wordpress.com/2018/05/22/securing-azure-api-apps-with-azure-ad/

    However, I need to get it working on a independent app. When I start Visual Studio, create new project, I can add Authentication, which I choose Active Directory, put in all the details. However, when I get the Token back, and pass it through the header, I get different authentication, token etc errors. Nothing is working. Am I missing something, does the built in authentication sample that comes with Visual Studio is not enough, am I missing something?

    Has anyone seen any samples, any sites that give a guide on how to accomplish this?

    Thanks!

    Saturday, October 12, 2019 3:55 AM

All replies