diff --git a/src/app/auth/login/page.tsx b/src/app/auth/login/page.tsx index a45c71952..df9e17f60 100644 --- a/src/app/auth/login/page.tsx +++ b/src/app/auth/login/page.tsx @@ -95,6 +95,7 @@ export default function Login() { res = await fetch(rucioX509Endpoint, { method: 'GET', headers: headers, + credentials: 'include', }); } catch (error) { console.log(error); diff --git a/src/component-library/pages/legacy/Login/Login.tsx b/src/component-library/pages/legacy/Login/Login.tsx index afe8b11d0..e2f4f6be8 100644 --- a/src/component-library/pages/legacy/Login/Login.tsx +++ b/src/component-library/pages/legacy/Login/Login.tsx @@ -142,7 +142,7 @@ export const Login = ({ setLastAuthMethod('x509'); handleAuthViewModel(x509AuthViewModel); - handleX509Session(x509AuthViewModel, account || '', vo.shortName); + handleX509Session(x509AuthViewModel, x509AuthViewModel.rucioAccount, vo.shortName); }; const submitUserPass = async (account: string | undefined) => {