Keyring issues with SwayWM

So, I recently installed Endeavour with GnomeDE and I wanted to use SwayWM, so I installed that along with SDDM. Whenever I switch to Sway via SDDM, I get logged out of everything like Vivaldi, VSCode etc. I have the following lines in my sway config but it still doesn’t seem to work

exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id sh -c ' eval $(gnome-keyring-daemon --login) eval $(gnome-keyring-daemon --start --components=secrets,ssh) export SSH_AUTH_SOCK'

Is there anything I’m doing wrong? I’m using Zen Browser as well but no such error shows up when I open it.

@joey ,
I’m not sure I could reproduce and fix this but 2. 3. helped me https://www.jwillikers.com/gnome-keyring-in-kde-plasma: