Customizable react components for social login
npm install social-login-react
clientId is needed
clientId={string}
onSuccessLogin={func}
onErrorLogin={func}
actionComponent={component.html}
scopes={array}
onAuthorizationAcquired={func}
/>
`
> This is a JS only component, it uses the new GSI sdk and it allows for very little buttom customizations
> it needs a clientId
`
clientId={string}
onSuccessLogin={func}
onErrorLogin={func}
customClass={string}
/>
`
> This component needs backend support, namely an authorizationRequest for backend processing of authorization 'code'
`
clientId={string}
authorizationRequest={string.url}
onSuccessLogin={func}
onErrorLogin={func}
actionComponent={component.html}
/>
``