Hi Everybody,
I am just getting started with Auth0, building a native client in Swift.
I am using Xcode 9.2. I am running the app on a simulator,
The SDK versions are standard ones from the example:
**target 'Auth0Sample' do**
** pod 'Lock', '~> 2.2'**
** pod 'Auth0', '~> 1.5'**
**end**
I am trying to run the embedded login sample
I have created two users, and I have verified their email. I am also sure I am using the right password.
I created an Auth0.plist file ( the sample does not come with one) and verified my domain and ClientID are correct.
I only have one client, which is set to āNativeā and I have set the callback url to
auth0.samples.Auth0Sample://mrschulz.auth0.com/ios/auth0.samples.Auth0Sample/callback
When I run the app and login with these users ( not social, my app is enterprise and needs database users) I get a āWeāre sorry, something went wrong trying to loginā. In my output I see this:
-canOpenURL: failed for URL: "org-appextension-feature-password-management://" - error: "This app is not allowed to query for scheme org-appextension-feature-password-management"
So I searched for this, and discovered I need to permit this scheme to my info.plist file. Fine. I add this:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>org-appextension-feature-password-management</string>
</array>
that just changes the previous error to:
-canOpenURL: failed for URL: "org-appextension-feature-password-management://" - error: "The operation couldnāt be completed. (OSStatus error -10814.)"
Am I barking up the wrong tree with these plist entries?
What have I missed that would cause this example to fail ?