Sign-in button component

Use the SignInWithInfinityButton component, to integrate a sign in button on your app's login screen.
This button will automatically launch the authentication flow.
<SignInWithInfinityButton
onSuccessfulSignIn={(data) => {
// The sign-in was successfully completed.
console.log(data.launchToken, data.organisationId)
}}
/>
Props
onSuccessfulSignIn:
(result: InfinityAuthResult) => voidCallback when the user has logged in successfully. The
resultparameter contains the one-time launch token that can be used to authenticate with Infinity Fabric and theorganisationId.