diff --git a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/HttpOAuthGateway.ts b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/HttpOAuthGateway.ts index cc0394b625..2f0a076d06 100644 --- a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/HttpOAuthGateway.ts +++ b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/HttpOAuthGateway.ts @@ -27,9 +27,11 @@ import { InclusionConnectAccessTokenResponse, InclusionConnectLogoutQueryParams, InclusionConnectRoutes, - ProConnectLogoutQueryParams, } from "./inclusionConnect.routes"; -import { ProConnectRoutes } from "./proConnect.routes"; +import { + ProConnectLogoutQueryParams, + ProConnectRoutes, +} from "./proConnect.routes"; const logger = createLogger(__filename); diff --git a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/inclusionConnect.routes.ts b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/inclusionConnect.routes.ts index f24b83df55..ee0af77f1e 100644 --- a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/inclusionConnect.routes.ts +++ b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/inclusionConnect.routes.ts @@ -32,12 +32,6 @@ export type InclusionConnectLogoutQueryParams = { id_token: string; }; -export type ProConnectLogoutQueryParams = { - post_logout_redirect_uri: AbsoluteUrl; - id_token_hint: string; - state: string; -}; - export type InclusionConnectRoutes = ReturnType< typeof makeInclusionConnectRoutes >; diff --git a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/proConnect.routes.ts b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/proConnect.routes.ts index ddd1b1406e..4b7d71d883 100644 --- a/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/proConnect.routes.ts +++ b/back/src/domains/core/authentication/inclusion-connect/adapters/oauth-gateway/proConnect.routes.ts @@ -27,9 +27,9 @@ const withContentTypeUrlEncodedSchema = z.object({ }); export type ProConnectLogoutQueryParams = { - client_id: string; post_logout_redirect_uri: AbsoluteUrl; - id_token: string; + id_token_hint: string; + state: string; }; export type ProConnectRoutes = ReturnType;