Service auth token

How can I use service auth token for accessing my api securely from my website?
If I add my server IP to the whitelist in the "zero trust" application part then I can access it via my website but if not it fails on the authentication via jwt / service auth.
Using NodeJS / NPM / NextJS app.
Was this page helpful?