Invalid Response Type token
tragicmj opened this issue · 2 comments
tragicmj commented
I am getting the below error when responseType is set to 'token'
<InstagramLogin
ref={ref => (this.instagramLogin = ref)}
appId='*************'
appSecret='*****************'
responseType={'token'}
redirectUrl='https://www.google.com'
scopes={['user_profile', 'user_media']}
onLoginSuccess={this.setIgToken}
onLoginFailure={(data) => console.log(data)}
cacheEnabled={false}
incognito={true}
thirdPartyCookiesEnabled={false}
sharedCookiesEnabled={false}
domStorageEnabled={false}
/>
Ameer-Muawiya commented
remove response type
tragicmj commented
I actually needed token that's why I added it. For now, I am handling it using webview without library. Would be much better if someone checks on this.