403 errors after using AAD authentication
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.
-
I checked HAR traces. The AAD authentication was completed successfully. 403 errors were from https://<web_app_name>.azurewebsites.net/index.php?route=/ though correct credentials in payload.
-
configured PMA_USER and PMA_PASSWORD. I could see the databases, but 403 errors persist.
Could you please suggest how to mitigate? Is there any debug logging we can use? Thanks.
Hi! Can you try to disable authentication to see what really causes the 403 error?
Hi @williamdes , thanks for your help! The app could work correctly if I disable authentication.
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 ?
Hi @He11oW-10, it bit us al well, it's directly related to https://github.com/phpmyadmin/phpmyadmin/issues/17240.
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.