Unable to authenticate on Ubuntu 22.04.4 (snap)

Hello,
I’ve been using appflowy anonymously for a while, but today when I tried to connect via Github (and Google) to synchronize my devices, I realized that it wasn’t working.
The GitHub (and Google) connection window appears and everything works fine, but when I go back to the application, it returns an error(at the bottom of the image):

Furthermore, I’d like to point out that this error, after several tests, appears on the 2 snap versions available for Ubuntu 22.04.4, but I don’t get the error at all if I install the application via .deb. Via .deb the application works normally.