Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 errors after using AAD authentication #420

Open
He11oW-10 opened this issue Jul 25, 2023 · 5 comments
Open

403 errors after using AAD authentication #420

He11oW-10 opened this issue Jul 25, 2023 · 5 comments
Labels

Comments

@He11oW-10
Copy link

He11oW-10 commented Jul 25, 2023

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://<web_app_name>.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.

@He11oW-10 He11oW-10 changed the title Ac after using authentication 403 errors after using AAD authentication Jul 25, 2023
@williamdes
Copy link
Member

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

@He11oW-10
Copy link
Author

He11oW-10 commented Jul 27, 2023

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

image

test2

@williamdes
Copy link
Member

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
Copy link

abij commented Mar 11, 2024

Hi @He11oW-10, it bit us al well, it's directly related to phpmyadmin/phpmyadmin#17240.

@williamdes
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants