Vscode flatpak sign in not working in Fedora 40 KDE

Everytime I want to sign in with vscode flatpak. It gives me error that credential can not be saved. KDE6 isn’t supported And there’s a workaround. But I am unable to use the workaround. Anyone found a fix?