react-native-instagram-login icon indicating copy to clipboard operation
react-native-instagram-login copied to clipboard

Does not return token if the redirect url doesn't have "www"

Open ashmaster opened this issue 5 years ago • 6 comments
trafficstars

Inside the webview navigation state change the url is checked using startWith() method but it returns false if the redirect url doesn't contain "www"

ashmaster avatar Oct 15 '20 08:10 ashmaster

@ashmaster thank for your reporting, now we must enter the correct redirectUrl, i will fix it in next version :)

hungdev avatar Oct 22 '20 02:10 hungdev

in webview after authorize request page is navigating to redirect url but not returning any token.

Rramandeep avatar Oct 23 '20 09:10 Rramandeep

in webview after authorize request page is navigating to redirect url but not returning any token.

Did you try giving www for the redirect url

ashmaster avatar Oct 23 '20 09:10 ashmaster

in webview after authorize request page is navigating to redirect url but not returning any token.

Did you try giving www for the redirect url

but on fb dev console i cant add www as redirect url, both url(Oauth redirect url in fb dev console and redirect url in webView) should be same.

Rramandeep avatar Oct 23 '20 09:10 Rramandeep

@ashmaster how to solve this?

Rramandeep avatar Oct 23 '20 10:10 Rramandeep

@ashmaster @Rramandeep hi guys, now im fixing this bug, but I tried with redirect url without www, it can still return token. could you give me your code? i want to see your redirect url format.

hungdev avatar Nov 04 '20 16:11 hungdev