Creating a Custom Auth Config
To create a custom auth config, navigate to your dashboard and click Auth Configs in the side bar then click on + New Auth Config. You’ll need to customize the auth config when you want to use different values than the defaults - such as your Client ID, Client Secret, or other authentication parameters.Example: OAuth2 Applications
Integrations that support OAuth2 allow you to use your own developer app. This is the recommended approach for most production use cases.OAuth2 Auth Configs
Step 1: Generate the OAuth Client ID and Client Secret
To set up a custom OAuth config, you’ll need the OAuth Client ID and Client Secret from your provider. You can generate these credentials from your provider’s OAuth configuration page. Here are some common examples:- Google: Google Cloud Console → APIs & Services → Credentials
 - Slack: Slack API Console → OAuth & Permissions
 - Notion: Notion API Console → OAuth & Permissions
 
Step 2: Create the Auth Config
Once you have the OAuth credentials, you can add them to the auth config:- Select the app with OAuth2 authentication that you want to configure
 - Select the scopes to request from users (All provided scopes provided are enabled by default)
 - Toggle the “Use your own developer credentials” switch to enable custom OAuth2 configuration
 - Add your OAuth client ID and client secret
 - Keep the Redirect URI as provided (you’ll configure this in your OAuth app settings)
 - Click Create Auth Config
 
How Does This Work?
The custom OAuth config allows you to use your own brand in the OAuth consent screen instead of the default Alloy Automation brand. Here’s how it works:Key Benefits
- Custom Brand: Users see your brand in OAuth consent screens, maintaining brand trust
 - Production Ready: Your own OAuth app gives you full control over rate limits and quotas
 
Using Auth Configs when Creating a Credential
Once you’ve created an auth config, you can reference use it when creating credentials using the Connectivity API.Step 1: Get the Auth Config ID
To get the auth config ID, navigate to Auth Configs dashboard click the Copy ID button next to the auth config’s ID that you want to use.Step 2: Create the Credential through the Connectivity API
Pass the auth config ID to the Connectivity API when creating a credential. Refer to Authentication for more information. You can also refer to the Connectivity API Reference for more information.Managing Auth Configs
Updating an Auth Config
You can update your auth config at any time from the dashboard:- Navigate to Auth Configs dashboard
 - Select the auth config you want to modify
 - Update the credentials, scopes, or other settings
 - Click Update Auth Config
 
Deleting an Auth Config
To delete an auth config:- Navigate to Auth Configs dashboard
 - Click on the 3 dots next to the auth config you want to delete to display the action menu
 - Click on Delete
 - You will be prompted to confirm the deletion
 - Click Delete Auth Config
 
Best Practices
- Use separate auth configs for development and production to avoid mixing test data with production data
 - Limit scopes to only what you need to minimize security risks and improve user trust
 - Rotate credentials regularly as part of your security practices
 - Monitor OAuth app quotas to ensure you don’t hit rate limits
 - Test the OAuth flow thoroughly before rolling out to production users
 
Troubleshooting
Common Issues
Redirect URI mismatch- Ensure the redirect URI in your OAuth app settings exactly matches the one in your auth config
 - Check for trailing slashes or http vs https mismatches
 
- Verify your client ID and client secret are correct
 - Ensure the OAuth app is enabled and not suspended
 
- Confirm the requested scopes are available for your OAuth app
 - Some scopes may require additional verification or approval from the provider
 

