API Key Becomes Invalid in Long Running Cluster
TLDR Adrian experienced an invalid generated API key. Jason explained that the key's expiration parameters and possible cluster quorum changes may have affected the key's validity.
May 22, 2023 (4 months ago)
Adrian
06:55 PMJason
07:25 PMexpires_at
param that controls the expiration.Jason
07:26 PMGET /keys
API call, to see all the active API keysJason
07:26 PMAdrian
09:09 PMexpires_at
when creating the key. GET /keys returns no resultsAdrian
09:12 PMJason
10:27 PMJason
10:28 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Generating New API Key in Typesense Cloud
Radi asks if generating new API keys in Typesense Cloud invalidates old ones. Jason clarifies that old keys are not invalidated.
Issues with API Key and Cluster Updates in Typesense
Jordan was having issues with API key and cluster updates. Jason explained the problem could be due to a split brain situation and suggested a solution. Sai also reported facing the same issue.
Issue with API Key Expiry and Generation in Node.js
Sai is having trouble with API keys expiring and triggering a forbidden key error in Node.js. Despite trying to generate a new key after expiry, Sai gets the same error. Jason explains that the problem may be due to the expiration of parent API keys.
Resolving Issues with Scoped API Keys in Typesense with Golang
Suvarna had problems with generating and using scoped API keys in Typesense with Golang. Several bugs misleading the user were found and fixed by Kishore Nallan.
Invalid API Key Error with Typesense Docker Image
Cooper faced an invalid API key error with the Typesense Docker image. Jason explained that scoped API keys only work with parent keys created via the /keys API endpoint.