+ >
+ )}
+
+ );
+};
+
+export default OAuth1;
diff --git a/packages/bruno-app/src/components/RequestPane/Auth/index.js b/packages/bruno-app/src/components/RequestPane/Auth/index.js
index 1de8fdfa36e..4a6926d75fe 100644
--- a/packages/bruno-app/src/components/RequestPane/Auth/index.js
+++ b/packages/bruno-app/src/components/RequestPane/Auth/index.js
@@ -6,6 +6,7 @@ import BasicAuth from './BasicAuth';
import DigestAuth from './DigestAuth';
import WsseAuth from './WsseAuth';
import NTLMAuth from './NTLMAuth';
+import OAuth1 from './OAuth1';
import { updateAuth } from 'providers/ReduxStore/slices/collections';
import { saveRequest } from 'providers/ReduxStore/slices/collections/actions';
import { useDispatch } from 'react-redux';
@@ -90,6 +91,9 @@ const Auth = ({ item, collection }) => {
case 'ntlm': {
return ;
}
+ case 'oauth1': {
+ return ;
+ }
case 'oauth2': {
return ;
}
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 2ca88195f6c..ac11af49b71 100644
--- a/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js
+++ b/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js
@@ -93,12 +93,12 @@ const WSAuth = ({ item, collection }) => {
case 'inherit': {
const source = getEffectiveAuthSource();
- // Check if inherited auth is OAuth2 - not supported for WebSockets
- if (source?.auth?.mode === 'oauth2') {
+ // Check if inherited auth is OAuth1/OAuth2 - not supported for WebSockets
+ if (source?.auth?.mode === 'oauth1' || source?.auth?.mode === 'oauth2') {
return (
<>
- OAuth 2 not yet supported by WebSockets. Using no auth instead.
+ {source.auth.mode === 'oauth1' ? 'OAuth 1.0' : 'OAuth 2'} not yet supported by WebSockets. Using no auth instead.