- Which SDK this is regarding: auth0-react
- SDK Version: 1.3.0
- Platform Version: e.g. Node 14.15.4
- Code Snippets/Error Messages/Supporting Details/Screenshots:
Hey there, I’m trying to disable a user from being logged in automatically after they sign up, there is no detailed documentation on how to do this when using auth0-react.
I’ve tried to use the following options
-
auto_login
-
loginAfterSignup
export const LoginButton = ({ loginWithRedirect }: LoginButtonProps) => (
// <button onClick={() => loginWithRedirect({auto_login: false})}>Iniciar Sesion
// <button onClick={() => loginWithRedirect({loginAfterSignup: false})}>Iniciar Sesion
<button onClick={() => loginWithRedirect()}>Log In
);
Is there a proper way on doing this with the auth0-react library?