fix(frontend): support cookie_bundle candidate in AuthCaptureDialog and refreshAuth
This commit is contained in:
@@ -427,7 +427,7 @@ export const customPagesApi = {
|
||||
create: (data: CustomPageForm) => api.post<CustomPageData>('/api/custom-pages', data),
|
||||
update: (id: number, data: Partial<CustomPageForm>) => api.put<CustomPageData>(`/api/custom-pages/${id}`, data),
|
||||
delete: (id: number) => api.delete(`/api/custom-pages/${id}`),
|
||||
refreshAuth: (id: number) => api.post<{ success: boolean; message: string }>(`/api/custom-pages/${id}/refresh-auth`),
|
||||
refreshAuth: (id: number) => api.post<{ success: boolean; message: string; warning?: string }>(`/api/custom-pages/${id}/refresh-auth`),
|
||||
}
|
||||
|
||||
// ——— Remote browser sessions ———
|
||||
@@ -492,7 +492,7 @@ export interface AuthCaptureSession {
|
||||
}
|
||||
|
||||
export interface AuthCaptureCandidate {
|
||||
type: 'bearer_token' | 'cookie' | 'credential' | 'api_key'
|
||||
type: 'bearer_token' | 'cookie' | 'cookie_bundle' | 'credential' | 'api_key'
|
||||
source: string
|
||||
preview: string
|
||||
label: string
|
||||
@@ -500,6 +500,8 @@ export interface AuthCaptureCandidate {
|
||||
value?: string
|
||||
cookie_name?: string
|
||||
cookie_value?: string
|
||||
cookie_count?: number
|
||||
cookie_names?: string[]
|
||||
new_api_user?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user