phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
655 stars 451 forks source link

403 errors after using AAD authentication #420

Open He11oW-10 opened 12 months ago

He11oW-10 commented 12 months ago

Hello, I have created an azure web app for container with phpmyadmin:latest. There were "access denied" errors once AAD authentication was enabled for the web app. image

  1. I checked HAR traces. The AAD authentication was completed successfully. 403 errors were from https://.azurewebsites.net/index.php?route=/ though correct credentials in payload.

  2. configured PMA_USER and PMA_PASSWORD. I could see the databases, but 403 errors persist.

error

Could you please suggest how to mitigate? Is there any debug logging we can use? Thanks.

williamdes commented 12 months ago

Hi! Can you try to disable authentication to see what really causes the 403 error?

He11oW-10 commented 12 months ago

Hi @williamdes , thanks for your help! The app could work correctly if I disable authentication.

image

test2

williamdes commented 12 months ago

The app could work correctly if I disable authentication.

The Microsoft one, right ? So there is something in their ruleset that does not work correctly ?

abij commented 4 months ago

Hi @He11oW-10, it bit us al well, it's directly related to https://github.com/phpmyadmin/phpmyadmin/issues/17240.

williamdes commented 4 months ago

The 5.2 snapshot should be updated now, and the Docker version too. See: (phpMyAdmin 5.2+snapshot) also available as a non official docker image.