Docker - Vault Callback

Hello,

I am using the Vault CLI on MacOS to authenticate with our Vault instance using OIDC. This works perfectly fine while doing so from the O/S. I have started to test the same method of authentication from a docker container and can get to the OIDC page fine. My problem now is in that it posts a callback to http://localhost:8250/{…} which cannot be resolved and I was wondering if there is anything I can do in order to get the callback to reach the listener in the container?

Les

The OIDC auth method is only suitable for use where the Vault CLI and the web browser being used for authentication are located on the same machine.

Other auth methods must be used when this isn’t the case.

Thank you @maxb for confirming.