Skip to content

Commit

Permalink
cmd: Advertise all path in sqa
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneas@ory.sh>
  • Loading branch information
aeneasr committed Apr 26, 2019
1 parent 04862c7 commit b838c91
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions cmd/server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b838c91

Please sign in to comment.