AWS RDS IAM authentication doesn't work because pma_password is truncated #16451
Labels
Bug
A problem or regression with an existing feature
enhancement
A feature request for improving phpMyAdmin
good first issue
has-pr
An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
help wanted
Projects
Milestone
Is your feature request related to a problem? Please describe.
Currently, phpMyAdmin doesn't work with AWS RDS IAM authentication.
The problem is that the temporary token provided by AWS is bigger than 256 symbols.
https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/Plugins/Auth/AuthenticationCookie.php#L337-L340
Describe the solution you'd like
Would be good if this limit can be changed from config and return an error when the password exceeds the limit.
It is very confusing to silently trim the password.
Is there a reason to trim the password? Maybe don't trim the password at all?
The text was updated successfully, but these errors were encountered: