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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.