-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redirect the user to the app after login #237
Comments
The app style URL [myClientID]:// will not redirect on the Instagram website. The readme for this repo has detailed steps on how to monitor for the accessToken from your webView using the UIWebViewDelegate. Once a valid token is received, just dismiss the webView. It will dismiss before the page 400s. |
May be related to too many requests, when I was testing auth I had the same issue so left it for a few days and it was alright. |
Hello, Here is what happening.. When I am trying to define redirect_uri to Instagram, it is always telling me to register with http:// or https:// only and not by my app name just like xyz:// which is defined as per the custom URL scheme. Now, when I have set the redirect_uri based on the http://xyz and configure the same into custom URL scheme in my XCode project, this won't allow the app opening automatically and redirects to the web page in safari. So, I would like to know the possible workaround for this. Any help will be appreciated. |
@NirmitDagly Did you find any workaround? |
@NirmitDagly Looking forward to any updates =) |
@NirmitDagly, you can still use redirection to xyz:// custom URL schemes by using a 3rd party to redirect http:// to xyz:// In my case (my backend is AWS API gateway + lambda func) I used aws api gateway and lambda to redirect |
@NirmitDagly I know this is years old, but did you ever find a solution? |
how can I redirect the user to the app after successful login ? I 've set the redirect URI in Instagram Api website for my client to be [myClientID]://authorize and I've put a new URL Type in project settings to be ig[MyClientID] but every time the user logs in instagram displays a white page with : 400 Bad Request text written on top.
I've also opened a new SO question here for this issue.
any help will be highly appreciated.
The text was updated successfully, but these errors were encountered: