Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom_Script_Logged_Out & PAT expired after upgrade to 4.6.0 #25091

Open
dmonn opened this issue Apr 7, 2022 · 1 comment
Open

Custom_Script_Logged_Out & PAT expired after upgrade to 4.6.0 #25091

dmonn opened this issue Apr 7, 2022 · 1 comment

Comments

@dmonn
Copy link

dmonn commented Apr 7, 2022

Description:

We just updated from the previous version to 4.6.0. We have RocketChat embedded via iframe and use an auth token to log users in. After the upgrade via Docker-Compose, we're seeing Custom_Script_Logged_Out being called and the authentication failing. The PATs we used to log in the user no longer worked.

After regenerating PATs for all of the users, things worked again.

Steps to reproduce:

  1. Set up chat in iframe, use PATs to log in
  2. Upgrade Rocketchat / Restart server
  3. Log events to see -> Custom_Script_Logged_Out
  4. PATs no longer work

Expected behavior:

I'd expect PATs to continue to work after a restart.

Actual behavior:

PATs no longer worked

Server Setup Information:

CleanShot 2022-04-07 at 14 11 29

Client Setup Information

  • Desktop App or Browser Version: Browser, Chrome 99
  • Embedding via iframe, logged in with token

Relevant logs:

CleanShot 2022-04-07 at 13 54 38

@sampaiodiego
Copy link
Member

this may have been caused by #24901
I'll ask someone to take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants