Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use a custom domain to log in #151

Open
alejandragarcia2r opened this issue Sep 5, 2023 · 1 comment
Open

Unable to use a custom domain to log in #151

alejandragarcia2r opened this issue Sep 5, 2023 · 1 comment
Assignees

Comments

@alejandragarcia2r
Copy link

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 mike4aday self-assigned this Sep 20, 2023
@mike4aday
Copy link
Owner

Thank you @alejandragarcia2r -- I'll investigate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants