test(e2e): test login page
This commit is contained in:
parent
99601eaeb7
commit
11d98e63ae
10 changed files with 60 additions and 5 deletions
|
@ -5,10 +5,11 @@ import { faOpenid } from '@fortawesome/free-brands-svg-icons';
|
|||
export default function SSOLogin({
|
||||
provider,
|
||||
providerDisplayName,
|
||||
...props
|
||||
}: {
|
||||
provider: string;
|
||||
providerDisplayName: string;
|
||||
}) {
|
||||
} & React.HTMLProps<HTMLFormElement>) {
|
||||
return (
|
||||
<form
|
||||
className='flex flex-col items-center gap-4 w-full'
|
||||
|
@ -16,6 +17,7 @@ export default function SSOLogin({
|
|||
'use server';
|
||||
await signIn(provider);
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
<IconButton
|
||||
className='w-full'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue