mike4aday / SwiftlySalesforce

The Swift-est way to build native mobile apps that connect to Salesforce.
MIT License
136 stars 43 forks source link

Unable to use a custom domain to log in #151

Open alejandragarcia2r opened 1 year ago

alejandragarcia2r commented 1 year ago

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()

mike4aday commented 11 months ago

Thank you @alejandragarcia2r -- I'll investigate this