Using Secrets from Vault in localhost requests

Basically secrets don’t resolve when I’m doing request to localhost, I have my allowed domains set up like this:

http://localhost, https://***

But no dice, it works fine when I request to the other domain I have allowed.

Any pointers would help to ease local testing.