File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
packages/cloud/views/auth/OAuthLogin Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ interface AirbyteLocalStorage {
18
18
airbyteTheme : Theme ;
19
19
"airbyte_connector-grid-support-level-filter" : SupportLevel [ ] ;
20
20
"airbyte_connector-grid-show-suggested-connectors" : boolean ;
21
- "airbyte_show-sso-login" : boolean ;
22
21
"airbyte_show-dev-tools" : boolean ;
23
22
"airbyte_workspace-in-title" : boolean ;
24
23
}
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { Link } from "components/ui/Link";
11
11
import { Spinner } from "components/ui/Spinner" ;
12
12
13
13
import { OAuthProviders , AuthOAuthLogin } from "core/services/auth" ;
14
- import { useLocalStorage } from "core/utils/useLocalStorage" ;
15
14
import { CloudRoutes } from "packages/cloud/cloudRoutePaths" ;
16
15
17
16
import githubLogo from "./assets/github-logo.svg" ;
@@ -64,8 +63,6 @@ export const OAuthLogin: React.FC<OAuthLoginProps> = ({ loginWithOAuth }) => {
64
63
const loginRedirect = searchParams . get ( "loginRedirect" ) ;
65
64
const navigate = useNavigate ( ) ;
66
65
67
- const [ showSsoLogin ] = useLocalStorage ( "airbyte_show-sso-login" , false ) ;
68
-
69
66
useUnmount ( ( ) => {
70
67
stateSubscription . current ?. unsubscribe ( ) ;
71
68
} ) ;
@@ -120,7 +117,7 @@ export const OAuthLogin: React.FC<OAuthLoginProps> = ({ loginWithOAuth }) => {
120
117
< >
121
118
< GoogleButton onClick = { ( ) => login ( "google" ) } />
122
119
< GitHubButton onClick = { ( ) => login ( "github" ) } />
123
- { showSsoLogin && < SsoButton /> }
120
+ < SsoButton />
124
121
</ >
125
122
) }
126
123
{ errorMessage && < div className = { styles . error } > { errorMessage } </ div > }
You can’t perform that action at this time.
0 commit comments