iOS Lock enterprise connection error: "invalid connection specified for password grant"

Hello,

We’d like to enable our partners to use their own SAML IdP to log their users into our apps. As a proof-of-concept, I’ve gone through the super helpful example here for configuring Auth0 to act as both the SAML SP and IdP. The only difference is that I’m using a native application (configured on the SP Auth0 tenant of course).

I’ve configured Lock on iOS to use the enterprise connection alone, but when I attempt to login, I get the following error:

ERROR | DatabaseAuthenticable.swift:86 - Failed login of user <omitted> with error invalid connection specified for password grant

Any thoughts on what might be going on?

Thanks

Hey there,

I think the most effective way to handle that would be to raise an issue in Lock.swift repo so that repo maintainers can directly take a look at it. Let me know if that method works for you and share the link to the issue here for the benefit of others, otherwise I’ll dig into it!

1 Like

Thanks @konrad.sopala. I filed: Enterprise connection error: "invalid connection specified for password grant" · Issue #582 · auth0/Lock.swift · GitHub

2 Likes

Perfect Chris! I’ll let repo maintainers know about that!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.