-
Notifications
You must be signed in to change notification settings - Fork 83
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
broken soundcloud auth flow - window doesn't close after authenticated #76
Comments
@SergeyBondarenko that sounds more like a CORS issue, can you make sure that the redirect url (might be called differently in SC) in your soundcloud account is set to the exact host you're authenticating from? Protocol, host name and port should all match. |
@dryajov yes, I checked it already, the redirect URI in my code is the same as the registered one and I'm trying to sign-in from the same |
@SergeyBondarenko That is weird, but still seem to be a different issues, just from the call stack you provided. Is that over http or https? There might also be a restriction with iframes cross-domain insecure http calls in some browsers, I know that chrome has been cracking down on http lately, might be worth trying it in other browsers and/or looking at iframe restrictions in general. |
Fyi, this is how I fixed it:
However #47 seems to have a proper fix. |
After authenticating with soundcloud with the popup flow, the popup never closes and just sits there with
This popup should automatically close in a few seconds
message. I see the following stacktrace in the console:I can consistently reproduce this issue on:
PR: #47 fixes this issue.
The text was updated successfully, but these errors were encountered: