Skip to content

Commit cc701a8

Browse files
committed
Status page 404 message
1 parent 4cc4b46 commit cc701a8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/scala/com/tesobe/oidc/server/OidcServer.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,7 @@ object OidcServer extends IOApp {
893893
s"No endpoint handled the request: ${req.method} ${req.uri}"
894894
)
895895
) *>
896-
NotFound(
897-
"Endpoint not enabled"
898-
)
896+
NotFound("OBP-OIDC: no route matches this request")
899897
}
900898
}
901899
} else {
@@ -904,7 +902,7 @@ object OidcServer extends IOApp {
904902
s"No endpoint handled the request: ${req.method} ${req.uri}"
905903
)
906904
) *>
907-
NotFound("Endpoint not enabled")
905+
NotFound("OBP-OIDC: no route matches this request")
908906
})
909907
}
910908
}

0 commit comments

Comments
 (0)