OData - Custom Authentication

0
We have a Mendix 10 application exposing an OData v4 service with custom authentication via a microflow. The microflow validates a JWT Bearer Token and returns a User entity.Our goal is to integrate Power BI and Tableau with this OData service using OAuth 2.0 delegated authentication (Azure Entra ID).The problem:When Power BI calls the OData endpoint without a Bearer Token, Mendix returns a 401 response but WITHOUT the WWW-Authenticate header. Power BI requires this header to know how to obtain an OAuth token automatically. Without it, Power BI shows the error: 'This credential type is not supported for this resource.'What we need:We need the Mendix OData 401 response to include:WWW-Authenticate: Bearer authorization_uri="https://login.microsoftonline.com/{tenant-id}", resource_id="{client-id}"
asked
0 answers