diff --git a/README.md b/README.md index 42f2662..16d27e1 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,11 @@ SwissOID authentication service for Playchoo. Manages OIDC login flow, session s - `GET /login` - Initiates SwissOID OIDC flow - `POST /oidc/callback` - Handles SwissOID callback +- `GET /oidc/finalize` - Completes authentication and sets session cookie in first-party context - `GET /auth/status` - Returns current authentication status - `POST /auth/logout` - Destroys session +- `GET /auth/debug` - Debug endpoint to check session and cookie status +- `GET /auth/ping` - Connectivity test endpoint - `GET /healthz` - Health check ## Environment Variables diff --git a/src/loaders/index.ts b/src/loaders/index.ts index d1119cc..302c70b 100644 --- a/src/loaders/index.ts +++ b/src/loaders/index.ts @@ -14,7 +14,6 @@ const middlewareConfig: MiddlewarePathConfig = buildMiddlewareConfig([ EXPRESS_MIDDLEWARE.cors, EXPRESS_MIDDLEWARE.cookieParser, EXPRESS_MIDDLEWARE.bodyParser, - EXPRESS_MIDDLEWARE.urlencoded, SWISSOID_MIDDLEWARE.oidcStandardRoutes, ], },