Configure listen address for OIDC loopback in step ssh login
#439
-
What would you like to be addedAdd option Why this is neededAs mentioned in previous issues, some IdP will not accommodate http://127.0.0.1. It appears to have been accommodated for Thank you for the consideration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey James, We're trying to avoid duplicating all of the I'm not sure what IdP you're using, but if you're able to get their attention you might consider bringing this to their attention as well. It sounds like your IdP is out of conformance with OAuth best current practices for native applications. You can point them to IETF BCP212. Specifically, sections 7.3 and 8.3 which recommend the use of |
Beta Was this translation helpful? Give feedback.
Hey James,
We're trying to avoid duplicating all of the
step oauth
options onstep ssh login
. For this particular use case, you can set"listenAddress": "localhost:10000"
in your OIDC provisioner config at your CA (in~/.step/config/ca.json
). Remember toHUP
your server after modifying your config. If you're setting up a new provisioner you can also pass the--listen-address
flag tostep ca provisioner add
to set this parameter. When you runstep ssh login
it'll fetch this setting from the CA and respect it automatically. You don't need to pass in a flag at all! Hopefully this satisfies your requirements. Lemme know if not.I'm not sure what IdP you're using, but if you're able to get the…