Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

SpotifyLogin does not work in iOS 12 #28

Closed
AFRUITPIE opened this issue Aug 8, 2018 · 1 comment
Closed

SpotifyLogin does not work in iOS 12 #28

AFRUITPIE opened this issue Aug 8, 2018 · 1 comment

Comments

@AFRUITPIE
Copy link
Contributor

If you are filing a bug report, please include information for the topics below. Also, please make sure to only report one bug/feature request/question per issue.

Description

A concise description of what the problem is.
Using the correct values for Client ID, Client Secret, Redirect URL, and following the tutorial exactly, the error "Safari cannot open the page because the address is invalid" is thrown on iOS 12.

Versions

iOS SDK version: iOS 12 (-sdk iphoneos12.0)
Spotify app version (if native SSO flow is involved)

Severity

Trivial, Minor, Major, Catastrophic

Major

Steps to Reproduce

  1. Step by step instructions on how to reproduce this bug.
    Install iOS 12 developer beta 6, complete the sample included in the repo. During login at the "cancel" or "okay" screen, both buttons cause "Safari cannot open the page because the address is invalid."
  2. The more detailed your list of instructions, the easier it is for the developer to track down the problem!

Actual behaviour

Describe what happens when you perform the steps above.
Safari closes and app is logged in

Expected behaviour

Describe what you expected to happen when performing the steps above.
Error: "Safari cannot open the page because the address is invalid."

Logs

Please include any relevant log output that might assist in tracking down the problem.
No logs

@AFRUITPIE
Copy link
Contributor Author

Finally figured it out. It was an odd issue with adding the redirect url. Rather than doing Myapp://, I had to add it into the URL Types as myapp. It didn't like the upper case letters or ://. Strange, but it works!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant