Your login box

Crossid is the login box that your customers will love.

index.js
let { user } = useAuth()
let { loginWithRedirect, logoutWithRedirect } = useAuthActions()
{!user ?
<Button onClick={() => loginWithRedirect()}>Sign in</Button>
} : {
<Button onClick={() => logoutWithRedirect()}>Sign out</Button>
}

Docs

Welcome to Crossid docs.

Frameworks

Step-by-step guides to setting up your system and installing the library.