I am building a chrome extension that sends GET requests to a flask API I've built. I want to add some sort of authentication to the API so that only my chrome extension can receive that data.
I have looked into using a JSON web token but it seems that by doing that, I would have to have the username and password in my chrome extension code, which is easily accessible to anyone once the chrome extension is published.
Am I thinking about this in the wrong way?
Thanks