<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Basic auth with web connector in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/1081205#M23567</link>
    <description>&lt;P&gt;Same problem... Any suggestion?&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 10:20:00 GMT</pubDate>
    <dc:creator>j-riobello</dc:creator>
    <dc:date>2020-05-08T10:20:00Z</dc:date>
    <item>
      <title>Basic auth with web connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/639216#M18726</link>
      <description>&lt;P&gt;Dear Sirs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a verry small example to load tables from a php website with basic auth.&lt;/P&gt;&lt;P&gt;But the web connector does not authenticate with the php app.&lt;/P&gt;&lt;P&gt;This is the verry basic PHP code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php
if (!isset($_SERVER['PHP_AUTH_USER'])) 
{
    header('WWW-Authenticate: Basic realm="My Realm"');
    header('HTTP/1.0 401 Unauthorized');
    echo 'Text to send if user hits Cancel button';
    exit;
} 
else 
{
?&amp;gt;
&amp;lt;table&amp;gt;
&amp;lt;thead&amp;gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Name&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Password&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;/thead&amp;gt;
&amp;lt;tbody&amp;gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;?=$_SERVER['PHP_AUTH_USER']?&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;?=$_SERVER['PHP_AUTH_PW']?&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;/tbody&amp;gt;
&amp;lt;/table&amp;gt;
&amp;lt;?php
}
?&amp;gt;&lt;/PRE&gt;&lt;P&gt;Now when I do the following the screen always comes back. I can't authenticate.&lt;/P&gt;&lt;P&gt;How to do this basic authentication correctly?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 11:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/639216#M18726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T11:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Basic auth with web connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/948097#M22485</link>
      <description>&lt;P&gt;i have same problem.&lt;/P&gt;&lt;P&gt;does anyone solve this ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 04:13:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/948097#M22485</guid>
      <dc:creator>radityopw</dc:creator>
      <dc:date>2020-02-26T04:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Basic auth with web connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/955021#M22542</link>
      <description>&lt;P&gt;unfortunatly… No solution yet.....&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 09:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/955021#M22542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-02T09:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Basic auth with web connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/1081205#M23567</link>
      <description>&lt;P&gt;Same problem... Any suggestion?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 10:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Basic-auth-with-web-connector/m-p/1081205#M23567</guid>
      <dc:creator>j-riobello</dc:creator>
      <dc:date>2020-05-08T10:20:00Z</dc:date>
    </item>
  </channel>
</rss>

