Chrome and Edge do not accept correct login data, Firefox works

Please provide reproducible example. It’s not clear how is your grafana configured, which domain is used, errors from browser console… Provide details, logs, errors, how did you debugged issue,. … to increase your chance for answer.

Blind guess: wrong Grafana configuration which makes invorrect cookies (secure cookie, cookie domain, same site attribute,…) which are not accepted by browsers.