Skip to content

Commit

Permalink
hackhack: force auth=true in websockets (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jun 4, 2024
1 parent 4853127 commit 5a7159f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui/app/src/resolver/ApiDefinitionResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ export class ApiDefinitionResolver {
messagesPromise,
]);

const { auth, headers } = this.mergeAuthAndHeaders(websocket.auth, this.holder.api.auth, rawHeaders);
// HACKHACK: force auth=true forces auth to always be included since websocket security schemes is borked in FernIR -> FDR
const { auth, headers } = this.mergeAuthAndHeaders(true, this.holder.api.auth, rawHeaders);

return {
type: "websocket",
Expand Down

0 comments on commit 5a7159f

Please sign in to comment.