Skip to main content

How to Fix OAuth Errors on Weflow Sign in?

Check the Weflow Connected App, enable self-authorization, relax IP restrictions and set the refresh token policy to clear OAuth errors on sign-in.


If you or your team encounter an OAuth Error when trying to connect Weflow to Salesforce, follow these steps:
​

1. Check the Weflow Connected App in Salesforce

  • Go to Salesforce Setup → Manage Connected Apps.

  • Locate the Weflow Connected App.

2. Install Weflow if Missing

  • If the app is not listed, go to Connected Apps OAuth Usage and install the Weflow app first.

3. Update App Policies

  • Open the Weflow Connected App and click Load Actions > Manage App Policies.

  • Ensure “Users can self-authorize” is enabled.

    • This setting allows users to grant Weflow access to their Salesforce account without requiring admin intervention.

4. Relax IP Restrictions

  • If IP restrictions are enabled, relax them for Weflow.

    • This ensures users can log in from different networks without being blocked by Salesforce’s IP limitations.


​

5. Refresh Token

  • Select (Expire Refresh Token if not used for 30 days) option as shown in the screenshot above. This is the recommended setup for your Weflow package.

Did this answer your question?