Skip to content

Commit 03ec248

Browse files
sampaiodiegoggazzo
authored andcommitted
docs: changeset
1 parent 57af333 commit 03ec248

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.changeset/afraid-parents-bake.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@rocket.chat/rest-typings': minor
3+
'@rocket.chat/meteor': minor
4+
---
5+
6+
REST endpoint `/v1/users.createToken` is not deprecated anymore. It now requires a `secret` parameter to generate a token for a user. This change is part of the effort to enhance security by ensuring that tokens are generated with an additional layer of validation. The `secret` parameter is validated against a new environment variable `CREATE_TOKENS_FOR_USERS_SECRET`.

0 commit comments

Comments
 (0)