Wappler Version : v4.1.0
Operating System : MacOS
Server Model: ASP.NET
Database Type: MSSQL
Hosting Type: IIS
Expected behavior
Entering API Authorization details for Username
and Password
should fulfil Basic Authorization requirements for making an API call
Actual behavior
The API call is not Authorized with the details provided under Authorization: Username
method. However, if the Basic Authorization (Base64 Encoded) details are entered in the Headers
section, then the API calls are authorised correctly.
How to reproduce
- Create an API Action with the API url
- Select Method - GET or POST
- Select Authorization Method: Username
- Enter Username and Password details
- Click on Define API Schema - API call is unauthorised
- Remove Authorization Method: Username. Instead enter Base64 encoded Basic Authorization in the Headers
- Click on Define API Schema - API call is authorised correctly for the same credentials as provided under
Username
Authorization method