meilisearch/meilisearch-rust

Broken tenant token generation

moy2010 opened this issue ยท 3 comments

Description

Tenant token generation is broken on SDK v0.24.1 (tested with Meili v1.2.0).

Expected behavior
Tenant tokens can be generated and used.

Current behavior
Meilisearch returns InvalidApiKey error when searching with generated tenant tokens.

Screenshots or Logs
Described the issue in the discord channel here: https://discord.com/channels/1006923006964154428/1028701743917301892/threads/1123666232068018296.

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Meilisearch version: v1.2.0
  • meilisearch-rust version: v0.24.1

Thanks a lot for raising this bug. It should be definitely fixed.

I found the issue ๐Ÿ˜„ . It was because of this change introduced in v0.18.0: #318.

Now my tenant tokens are working again :).

๐Ÿ™ Good to know