• Eric Chiang's avatar
    connector: fix path that connectors listen on · 8216a3d9
    Eric Chiang authored
    When Dex uses a non-root issuer URL, it current assumes that all
    path prefixes will be trimmed by an upstream proxy (e.g. nginx).
    This means that all paths rendered in HTML will be absolute to the
    prefix, but the handlers still listen at the root.
    
    Connectors are currently the only component that registers at a
    non-root URL. Make this conform with the rest of Dex by having the
    server determine the path the connector listens as rather than the
    connector itself.
    8216a3d9
server.go 21.9 KB