Implementing Authorized API Calls in a Chrome Extension Using JWT

iam unable to access api/auth/token ?
Actually iam developing a chrome extenison and web app (they both must be in sync like clerk sync host), iam trying to implement jwt authentication , but i am unable to access jwt from my webapp

my plan is to put the retrieved jwt token in relevant extension storage so that i wanna access it to make authorized api calls while making api calls from that chrome extension

i also want to know is this safe how to implement this ? if not what is the best way to make authenticated api calls from my chrome extenison
image.png
image.png
Was this page helpful?