Skip to content

401 (Unauthorized) on local using front_end_integration example #4284

Answered by curquiza
anjanesh asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @anjanesh

You have set up a master key when launching Meilisearch. You need to replace aSampleMasterKey with the master key you set up.
⚠️ In production do not use your master key to apply your search but your default search API

More information here: https://www.meilisearch.com/docs/learn/security/master_api_keys

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@curquiza
Comment options

Answer selected by anjanesh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
support Issues related to support questions
2 participants