File tree Expand file tree Collapse file tree
keycloakify/src/login/pages/info Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,18 @@ export function Page() {
6262 return null ;
6363 }
6464
65+ const baseUrl = kcContext . client . baseUrl ;
66+ // App deep link (e.g. schuly://): after a cross-browser action
67+ // like email verification there's no flow to resume in this
68+ // browser, so send the user straight back to the app.
69+ if ( baseUrl !== undefined && ! / ^ h t t p s ? : \/ \/ / i. test ( baseUrl ) ) {
70+ return (
71+ < Button type = "button" className = "w-full" >
72+ < a href = { baseUrl } > Return to Schuly</ a >
73+ </ Button >
74+ ) ;
75+ }
76+
6577 if ( kcContext . pageRedirectUri ) {
6678 return (
6779 < Button type = "button" className = "flex ms-auto" >
Original file line number Diff line number Diff line change 276276 "clientId" : " schuly-app" ,
277277 "name" : " Schuly App" ,
278278 "description" : " Public OIDC client for the Schuly mobile app (PKCE)." ,
279+ "baseUrl" : " schuly://" ,
279280 "enabled" : true ,
280281 "publicClient" : true ,
281282 "standardFlowEnabled" : true ,
You can’t perform that action at this time.
0 commit comments