backend: change default authentication transport mode from COOKIE to HEADER

This commit is contained in:
juancarmore 2025-10-10 18:20:26 +02:00
parent b62c626a3f
commit c93306b705
2 changed files with 3 additions and 3 deletions

View File

@ -733,7 +733,7 @@ export class MeetStorageService<
type: AuthType.SINGLE_USER type: AuthType.SINGLE_USER
}, },
authModeToAccessRoom: AuthMode.NONE, authModeToAccessRoom: AuthMode.NONE,
authTransportMode: AuthTransportMode.COOKIE authTransportMode: AuthTransportMode.HEADER
} }
}, },
roomsConfig: { roomsConfig: {

View File

@ -17,8 +17,8 @@ export const getAuthTransportMode = async (): Promise<AuthTransportMode> => {
} catch (error) { } catch (error) {
const logger = container.get(LoggerService); const logger = container.get(LoggerService);
logger.error('Error fetching auth transport mode:', error); logger.error('Error fetching auth transport mode:', error);
// Fallback to cookie mode in case of error // Fallback to header mode in case of error
return AuthTransportMode.COOKIE; return AuthTransportMode.HEADER;
} }
}; };