CAS not working after upgrade to 6.2.1

Description

Server Setup Information

  • Version of Rocket.Chat Server: 6.2.1
  • Operating System:
  • Deployment Method: snap
  • Number of Running Instances: 1
  • OS : Ubuntu 20.04.5 LTS

After the automatic update of rocketchat to version 6.2.1 (snap), login via CAS stopped working, the login window appears and after successful login, the CAS login window closes but does not redirect us to Rocket Chat itself, clicking on the CAS login options again does nothing because I am already properly authenticated in CAS. In version 6.1.15 everything works fine - does anyone have a similar problem or have an idea why it stopped working? There is no information in the syslog itself that would help to solve the problem