fix: swissoid-back's /oidc/callback

route already has its own route-specific express.urlencoded()
manager
Guillermo Pages 2 months ago
parent 970f687633
commit 72243c5c35

@ -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

@ -14,7 +14,6 @@ const middlewareConfig: MiddlewarePathConfig = buildMiddlewareConfig([
EXPRESS_MIDDLEWARE.cors,
EXPRESS_MIDDLEWARE.cookieParser,
EXPRESS_MIDDLEWARE.bodyParser,
EXPRESS_MIDDLEWARE.urlencoded,
SWISSOID_MIDDLEWARE.oidcStandardRoutes,
],
},

Loading…
Cancel
Save