Last post May 26, 2017 10:00 AM by EvenMa
May 20, 2017 03:06 AM|rogerio.ricardo|LINK
How to define Basic Authentication in my Web API in the Azure ?
I´m using the Visual Studio 2015 and a solution Web API published in Azure...
My solution do references the DNX 4.5.1.
Solution DNX SDK version: 1.0.0-rc1-update1
It return the data by Json Schema
In the Visual Studio 2015 in my machine it work in the Start Debugging...
I put the Authentication in the Azure using the Microsoft Account and is working...
But the authentication is OAuth...
https://docs.microsoft.com/en-us/azure/app-service-api/app-service-api-authentication#oauth "Azure App Service offers built-in authentication and authorization services that implement OAuth 2.0 and OpenID Connect. This
article describes the services and options that are available for API Apps in Azure App Service."
But I wanted that the authentication were Basic Authentication...
Is possible to do that ?
How to do that ?
I followed the link:
https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/basic-authentication But not work...
Thank you, Rogério
May 26, 2017 10:00 AM|EvenMa|LINK
The tutorial you provide seems have no problem.
I suggest you could check whether you have disabled other authentication schemes ,such as Windows Authentication or Forms Authentication.
You could enable Basic Authentication and disable other authentication schemes such like the following picture.
If you have any other questions, please feel free to contact me any time.