title: Oracle Apex Authentication against Azure AD - Suddenly does not work
body: <p>For almost 2 years I had a setup of several Oracle Apex Applications working using authentication against Azure AD ( Open ID ).</p>
  <p>Since yesterday, and without changing anything, the login process does not work anymore</p>
  <p>Using <code>apex_web_service.make_request</code></p>
  <pre><code>select apex_web_service.make_rest_request(
      p_url         =&gt; 'https://login.microsoftonline.com',
      p_http_method =&gt; 'GET',
      p_wallet_path =&gt; 'file:/home/oracle/wallet',
      p_wallet_pwd =&gt; '**********'
  ) from dual
    7  /
  
  ERROR:
  ORA-29273: HTTP request failed
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEB_SERVICES&quot;, line 1283
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEB_SERVICES&quot;, line 924
  ORA-29268: HTTP client error 400 - Bad Request
  ORA-06512: at &quot;SYS.UTL_HTTP&quot;, line 380
  ORA-06512: at &quot;SYS.UTL_HTTP&quot;, line 1148
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEB_SERVICES&quot;, line 902
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEB_SERVICES&quot;, line 1136
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEB_SERVICES&quot;, line 1473
  ORA-06512: at &quot;APEX_190200.WWV_FLOW_WEBSERVICES_API&quot;, line 416
  ORA-06512: at line 1
  </code></pre>
  <p>In the Monitor Activity console I see a lot of debug entries with the same error ( all of them when a user try to log in )</p>
  <p><a href="https://i.stack.imgur.com/4vnVR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4vnVR.png" alt="Apex Monitor Activity" /></a></p>
  <p>The error is always the same: <strong>ORA-29268: HTTP client error 400 - Bad Request</strong></p>
  <p>Does anyone knows how can I debug this problem ? The certificates are ok.</p>
  <p>We have ORDS 19.3 , Oracle Apex 19.2 running on Oracle 19c</p>
  <p>Thank you</p>