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

MASUser.login - iOS 13 b1 error #210

Open
fernandocani opened this issue Jun 4, 2019 · 1 comment
Open

MASUser.login - iOS 13 b1 error #210

fernandocani opened this issue Jun 4, 2019 · 1 comment

Comments

@fernandocani
Copy link

Good Morning,

I'm having a device runing iOS 13 beta 1 to test compability, but the MASUser.login doesn't work, but on the current iOS 12.3, it works just fine.
I know that the beta was released yesterday, just want to warning about the problem.

MASUser.login(with: credentials, completion: { (completed, error) in
    if (!completed) {
        if (error != nil) {
            onError()
        }
    } else {
        if (error == nil) {
            onSuccess()
        }
    }
})

The completed is returning false, and the error is returning the following:

Error Domain=com.ca.MASFoundation.localError:ErrorDomain Code=-999 "SSL pinning validation failed: ensure the target domain’s MASSecurityConfiguration is correctly configured." UserInfo={NSLocalizedDescription=SSL pinning validation failed: ensure the target domain’s MASSecurityConfiguration is correctly configured., status-code=0}
@ysd24
Copy link
Contributor

ysd24 commented Oct 16, 2019

The iOS 13 has new requirements for TLS certificates, please do check if your server adheres to the new TLS requirements.

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

2 participants