公共 API 参考(@saas/contracts + @core/saas-kit + apps/api 对外接口)
    Preparing search index...

    Variable authorizeQuerySchemaConst

    authorizeQuerySchema: ZodObject<
        {
            client_id: ZodString;
            redirect_uri: ZodString;
            response_type: ZodLiteral<"token">;
            scope: ZodOptional<ZodString>;
            state: ZodOptional<ZodString>;
        },
        $strict,
    > = ...

    SSO authorize 入参(GET /api/v1/auth/oauth2/authorize 的 @Query·与 Odoo auth_oauth 隐式流协议形状对齐)。

    wire 键取 OAuth2 标准 snake_case(client_id/redirect_uri/response_type/scope/state)—— 这些是 Odoo 20 CE auth_oauth 构造授权链接时按规范直发的查询串,非本仓内部命名可自选。 response_type 钉死字面量 'token':CE auth_oauth 仅支持隐式流(无 code flow/PKCE), 传其它值即协议不符,须在传输层 fail-closed 拒入(风险登记 #1·调研 §2.1)。 scope 为空格分隔串,元素须 ⊆ openid profile email(越界拒)。 承 plan docs/plans/oauth-sso-odoo-integration.md 切片 A。