From b1f7b8ec6c838432d6d4e9e323f84a02aaaa31a3 Mon Sep 17 00:00:00 2001 From: Siddharth Gelera Date: Thu, 18 Sep 2025 16:38:00 +0530 Subject: [PATCH] chore: for now avoid oauth2 --- .../RequestPane/WSRequestPane/WSAuth/index.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js b/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js index cfa36524a..1afdfca94 100644 --- a/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js +++ b/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js @@ -12,8 +12,7 @@ import { getTreePathFromCollectionToItem } from 'utils/collections/index'; import { updateRequestAuthMode, updateAuth } from 'providers/ReduxStore/slices/collections'; import { saveRequest } from 'providers/ReduxStore/slices/collections/actions'; -// List of auth modes supported by gRPC -const supportedAuthModes = ['basic', 'bearer', 'apikey', 'oauth2', 'none', 'inherit']; +const supportedAuthModes = ['basic', 'bearer', 'apikey', 'none', 'inherit']; const WSAuth = ({ item, collection }) => { const dispatch = useDispatch(); @@ -81,7 +80,12 @@ const WSAuth = ({ item, collection }) => { return ; } case 'oauth2': { - return ; + return <> +
+
OAuth 2 not yet supported by WebSockets. Using no auth instead.
+
+ + // return ; } case 'inherit': { const source = getEffectiveAuthSource();