-
Notifications
You must be signed in to change notification settings - Fork 49
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
Using Xcode 12.5 and iOS 14.5: The provided scheme is not valid. A scheme should not include special characters such as ":" or "/". #189
Comments
I can confirm that the same is happening on my end. Just a small correction - the latest Xcode version is 12.5. There is already a PR made - auth0/react-native-auth0#369 that fixes auth0/react-native-auth0#360 |
Thanks for reporting this, looks like this is indeed an issue. We will look into this as soon as possible and see if the fix is close to identical as to the fix we did for the React Native SDK. |
It appears that the fix (or at least a workaround) is in https://github.com/auth0/auth0-oidc-client-net/blob/master/src/Auth0.OidcClient.iOS/ASWebAuthenticationSessionBrowser.cs, line 59: |
In the meantime you can downgrade to SFAuthenticationSessionBrowser as a workaround:
|
I can confirm that the workaround works fine. I suppose that the fix is indeed in the indicated lines above. We'll wait for a new release then. |
I tried this and i now get an error from the browser stating that the address is invalid. This workaround seems to still not work for me. |
Hey all, I opened a PR that should fix this. Feel free to verify if it solves your problems. |
Describe the problem
Trying to authenticate on iOS using Xcode 12.5 and iOS 14.5 results in the Exception: The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".
The same error is described here: auth0-samples/auth0-react-native-sample#45 and there is already a PR pending, so I think this should be an easy fix.
The text was updated successfully, but these errors were encountered: