File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import { cn } from "@podkit/lib/cn";
23
23
import { userClient } from "./service/public-api" ;
24
24
import { ProductLogo } from "./components/ProductLogo" ;
25
25
import { useIsDataOps } from "./data/featureflag-query" ;
26
+ import { isGitpodIo } from "./utils" ;
26
27
27
28
export function markLoggedIn ( ) {
28
29
document . cookie = GitpodCookie . generateCookie ( window . location . hostname ) ;
@@ -170,6 +171,19 @@ export const Login: FC<LoginProps> = ({ onLoggedIn }) => {
170
171
</ LoginButton >
171
172
) )
172
173
) }
174
+ { isGitpodIo ( ) && (
175
+ < div className = "text-pk-content-tertiary py-3" >
176
+ < span className = "text-sm font-bold" > Need SSO? </ span >
177
+ < a
178
+ className = "text-sm gp-link"
179
+ href = "https://www.gitpod.io/docs/enterprise"
180
+ target = "_blank"
181
+ rel = "noreferrer"
182
+ >
183
+ Try Gitpod Enterprise
184
+ </ a >
185
+ </ div >
186
+ ) }
173
187
< SSOLoginForm
174
188
onSuccess = { authorizeSuccessful }
175
189
singleOrgMode = { ! ! authProviders . data && authProviders . data . length === 0 }
You can’t perform that action at this time.
0 commit comments