You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is my code that i used for instagram login, but i am facing an issue that after entering credentials, user is redirected to chrome instead of coming back to app with response, can anyone please help me how can i solve this problem?
The text was updated successfully, but these errors were encountered:
@TeamDlxx @hungdev
I figured out how to solve this issue. instagram.js file, line: 51 if (url && url.startsWith(this.props.redirectUrl)) { this is always false because the URL starts with https://www.google.com and my redirectUrl is https://google.com. You need to add www everywhere
<InstagramLogin
ref={ref => (this.instagramLogin = ref)}
appId='*******'
appSecret='********************'
redirectUrl='https://google.com/'
scopes={['user_profile', 'user_media']}
onLoginSuccess={this.setIgToken}
onLoginFailure={(data) => console.log(data)}
/>
this is my code that i used for instagram login, but i am facing an issue that after entering credentials, user is redirected to chrome instead of coming back to app with response, can anyone please help me how can i solve this problem?
The text was updated successfully, but these errors were encountered: