Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Basic auth with web connector

Dear Sirs,

 

I create a verry small example to load tables from a php website with basic auth.

But the web connector does not authenticate with the php app.

This is the verry basic PHP code:

 

<?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 
{
?>
<table>
<thead>
<tr><td>Name</td><td>Password</td></tr>
</thead>
<tbody>
<tr><td><?=$_SERVER['PHP_AUTH_USER']?></td><td><?=$_SERVER['PHP_AUTH_PW']?></td></tr>
</tbody>
</table>
<?php
}
?>

Now when I do the following the screen always comes back. I can't authenticate.

How to do this basic authentication correctly?

2019-03-07 11_56_25-Window.png

 

Kind regards

3 REPLIES 3
radityopw
New Member

i have same problem.

does anyone solve this ?

Anonymous
Not applicable

unfortunatly… No solution yet.....

Same problem... Any suggestion?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.