Skip to content

Commit

Permalink
feat: add /oidc/health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Sep 17, 2023
1 parent 8e7409c commit b71e559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ async function handler(req: Request): Promise<Response> {

if (path === "/health") {
return ok("healthy");
} else if (path === "/oidc/health") {
return ok("healthy");
} else if (path === "/oidc/redirect") {
return redirect(req);
} else if (path === "/oidc/tokenize") {
Expand Down

0 comments on commit b71e559

Please sign in to comment.