SwiftlySalesforce icon indicating copy to clipboard operation
SwiftlySalesforce copied to clipboard

Unable to use a custom domain to log in

Open alejandragarcia2r opened this issue 10 months ago • 1 comments

When the user tries to log in and selects "Use custom domain" in the pop-up window and uses an authUrl like "test.salesforce.com", the flow continues normally but stops before the connected app requests necessary permissions and the window is dismissed before actually logging in.

I implemented the connection with Salesforce using version 10.0.1 of the package and the login using the Connection.authenticate() method like this: Shop.shared.salesforceCredential = try await Shop.shared.salesforceConnection?.authenticate()

alejandragarcia2r avatar Sep 05 '23 16:09 alejandragarcia2r

Thank you @alejandragarcia2r -- I'll investigate this

mike4aday avatar Sep 20 '23 13:09 mike4aday