fix(auth): classify services by service_type, not name heuristics
Coolify exposes the template slug on `service_type`; the list endpoint returns only summaries, so the auth list handler now fetches each service individually to classify it reliably. Users can name auth services anything (e.g. "my-login") and they still show up as auth providers. Made-with: Cursor
This commit is contained in:
@@ -560,6 +560,8 @@ export interface CoolifyService {
|
||||
uuid: string;
|
||||
name: string;
|
||||
status?: string;
|
||||
/** Coolify template slug the service was provisioned from, e.g. "pocketbase". */
|
||||
service_type?: string;
|
||||
project_uuid?: string;
|
||||
environment_id?: number;
|
||||
environment?: { id?: number; project_uuid?: string; project?: { uuid?: string } };
|
||||
|
||||
Reference in New Issue
Block a user