Fix: sign-in redirect URL is set
This commit is contained in:
@@ -15,7 +15,7 @@ const providerLogo = (provider: {id:string, name:string}) => {
|
||||
}
|
||||
|
||||
export const SignInButton:React.FC<{ provider: {id:string, name:string} }> = ({ provider }) =>
|
||||
<button className="btn btn-neutral" onClick={() => signIn(provider.id)}>
|
||||
<button className="btn btn-neutral" onClick={() => signIn(provider.id, { callbackUrl:"https://rezije.app/" }) }>
|
||||
<Image alt="Provider Logo" loading="lazy" height="24" width="24" id="provider-logo-dark" src={providerLogo(provider)} />
|
||||
<span>Sign in with {provider.name}</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user