想請問一下,今天我使用react-google-login套件實作google登入,但一直跳出You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated.
有上網查過相關解法(例如清除cache,或是開放第三方cookie),但都沒有用,以下是我的程式碼
<GoogleLogin
clientId="425515751581ph1n4e6chh7v047f7jrlq6nkm75unsuu.apps.googleusercontent.com"
render={(renderProps) => (
<Button
className={
classes.googleButton
}
color="primary"
fullWidth
onClick={renderProps.onClick}
disabled={renderProps.disabled}
startIcon={<Icon />}
variant="contained"
>
Google Sign In
</Button>
)}
onSuccess={googleSuccess}
onFailure={googleError}
cookiePolicy="single_host_origin"
/>
請問各位大神,要怎麼辦?