Skip to main content

Setting Up OAuth2 Authentication with Third-Party Identity Providers in coapp

Updated yesterday

Introduction

In coapp, admins can enable OAuth2 authentication to allow users to sign up or log in using third-party identity providers. This feature offers flexible, secure user authentication while integrating seamlessly with your community platform.

Who Can Use This Feature?

Only admins have permission to configure OAuth2 identity providers in coapp. This ensures that only authorized team members can modify authentication settings.

How to Set Up OAuth2 Authentication

  1. Navigate to Authentication Settings

    • Go to your admin dashboard.

    • Select Manage / Settings / Authentication.

    • Click on Identity Providers.

  2. Create a New Identity Provider

    • Click on New to create a new identity provider configuration.

    • Choose the provider type (e.g., Custom).

    • Select OAuth 2.0 as the authentication type.

  3. Enter Provider Details

    • Name: Enter a descriptive name for your identity provider.

    • Client ID: Obtain this from your provider’s developer console.

    • Client Secret: Obtain this from your provider’s developer console.

    • Auth URL: The URL where users are directed to authorize access.

    • Token URL: The URL for obtaining the access token.

    • UserInfo URL: The endpoint to retrieve user profile data after authentication.

    • Redirect URL: This will be generated automatically and corresponds to your community’s domain. Copy this URL and paste it into your provider’s settings as the authorized redirect URI.

    • Scopes: Define the scopes you want to request (comma-separated, e.g., profile,email).

    • Login CTA title: Enter the label for the login button.

    • Sign Up CTA title: Enter the label for the sign-up button.

  4. Save and Activate

    • Click Create to save your configuration.

    • Ensure your identity provider is correctly configured on the third-party side to accept the coapp redirect URL.

Best Practices

  • Double-check all URLs, client IDs, and secrets for accuracy.

  • Test the integration in a staging environment before enabling it for all users.

  • Ensure that your third-party provider supports the OAuth2 standard as implemented in coapp.

Support

If you encounter any issues during setup, please contact our support team or consult our help center at https://help.coapp.io.

Did this answer your question?