You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a secured API keys expire, search breaks. The current workaround is more complex
than it needs to be.
The options for developers using Algolia require, at every place where a search
operation is performed, catching an operation error, identify it as a
"ValidUntil" error, then regenerate the API key, and perform the search
operation again.
The idea is to define a method which tells if a SecuredAPIKey
is expired or not without making a single call to Algolia's API.
Summary
When a secured API keys expire, search breaks. The current workaround is more complex
than it needs to be.
The options for developers using Algolia require, at every place where a search
operation is performed, catching an operation error, identify it as a
"ValidUntil" error, then regenerate the API key, and perform the search
operation again.
The idea is to define a method which tells if a
SecuredAPIKey
is expired or not without making a single call to Algolia's API.
References
The text was updated successfully, but these errors were encountered: