I'm not using a Framework, in my case it's a Thinkpad T14s G1 intel and I needed to install libfprint and fprintd:
sudo eopkg install libfprint fprintd
after that I added the same line:
auth sufficient pam_fprintd.so
at the beginning of the file:
sudo mkdir mkdir /etc/pam.d
sudo cp /usr/share/defaults/etc/pam.d/gdm-password /etc/pam.d/gdm-password
sudo vi /usr/share/defaults/etc/pam.d/gdm-password
Could be added as default in Solus Gnome edition?