Skip to content
Permalink
Browse files

cmd: Advertise all path in sqa

Signed-off-by: aeneasr <aeneas@ory.sh>
  • Loading branch information...
aeneasr committed Apr 26, 2019
1 parent 9e829a9 commit 2c09d208e37a9b7f75ab64362df2d203bbfd0421
Showing with 21 additions and 3 deletions.
  1. +21 −3 cmd/server/handler.go
@@ -188,24 +188,42 @@ func setup(d driver.Driver, cmd *cobra.Command) (admin *x.RouterAdmin, public *x
strings.Contains(d.Configuration().IssuerURL().String(), "localhost"),
WriteKey: "h8dRH3kVCWKkIFWydBmWsyYHR4M0u0vr",
WhitelistedPaths: []string{
client.ClientsHandlerPath,
jwk.KeyHandlerPath,
jwk.WellKnownKeysPath,

client.ClientsHandlerPath,

oauth2.DefaultConsentPath,
oauth2.DefaultLoginPath,
oauth2.DefaultPostLogoutPath,
oauth2.DefaultLogoutPath,
oauth2.DefaultErrorPath,
oauth2.TokenPath,
oauth2.AuthPath,
oauth2.LogoutPath,
oauth2.UserinfoPath,
oauth2.WellKnownPath,
oauth2.JWKPath,
oauth2.IntrospectPath,
oauth2.RevocationPath,
oauth2.FlushPath,

consent.ConsentPath,
consent.ConsentPath + "/accept",
consent.ConsentPath + "/reject",
consent.LoginPath,
consent.LoginPath + "/accept",
consent.LoginPath + "/reject",
consent.LogoutPath,
consent.LogoutPath + "/accept",
consent.LogoutPath + "/reject",
consent.SessionsPath + "/login",
consent.SessionsPath + "/consent",

healthx.AliveCheckPath,
healthx.ReadyCheckPath,
healthx.VersionPath,
driver.MetricsPrometheusPath,
"/oauth2/auth/sessions/login",
"/oauth2/auth/sessions/consent",
"/",
},
BuildVersion: d.Registry().BuildVersion(),

0 comments on commit 2c09d20

Please sign in to comment.
You can’t perform that action at this time.