keratin / authn

Prototype version of AuthN service. See: keratin/authn-server
https://keratin.tech
GNU Lesser General Public License v3.0
34 stars 0 forks source link

support routing path prefixes for path-based microservice routing #43

Closed cainlevy closed 7 years ago

cainlevy commented 7 years ago

Some deployments may require a single domain to proxy between multiple services based on Layer 7 path matching. Amazon's ALB supports this, for example.

In order for AuthN to work in this scenario, it needs to knows its full base URL (including path) and match routes accordingly. It also needs to ensure that the refresh token cookie is scoped to the correct path.

The Ruby and JavaScript clients will also need to be updated to ensure the base path is included in URLs.

The JavaScript client should not yet worry about base URL issues in the application cookie store.