I am using react-google-login for my react app. Here is my code
<GoogleLogin
clientId="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
buttonText="Google"
render={renderProps => (
<button onClick={renderProps.onClick} className='google-login-button'>
<img src={GoogleButton}/>
</button>
)}
onSuccess={this.googleResponse}
onFailure={() => console.log('error')}
/>
What I want is, Only the Gsuit users will be able to signin/up. Like someone with Gmail should not get the access.