> ## Documentation Index
> Fetch the complete documentation index at: https://memberful.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure a generic OpenID Connect provider for Memberful

> Set up any OpenID Connect provider so staff can sign in to the Memberful dashboard with single sign-on.

If your identity provider isn't natively supported by Memberful, you can connect it with Memberful's generic OpenID Connect (OIDC) integration. It works with any OIDC-compliant provider, including custom implementations.

In this help article, we'll cover setting up your OIDC provider and connecting it to Memberful.

## Set up your OIDC provider

In your OIDC provider, add this URL as a redirect URI for your application. Sign-in won't work without it.

```text theme={null}
https://auth.memberful.com/admin/generic/redirect
```

Then gather these details from your provider:

* **Client ID:** The public identifier for your application.
* **Client Secret:** The secret key for your application.
* **Issuer:** The base URL of your OIDC provider, such as `https://your-provider.com`.
* **Authentication URL:** The authorization endpoint URL.
* **Token URL:** The token endpoint URL.
* **JWKS URL:** The JSON Web Key Set endpoint URL.

Most OIDC providers list their URLs at a well-known configuration endpoint, usually:

```text theme={null}
https://your-provider.com/.well-known/openid-configuration
```

Replace `your-provider.com` with your provider's domain. The endpoint returns JSON that includes these fields:

* `issuer`: Issuer
* `authorization_endpoint`: Authentication URL
* `token_endpoint`: Token URL
* `jwks_uri`: JWKS URL

## Connect your provider to Memberful

**1. Open the identity provider setup page**

Open the Memberful identity provider setup page using the link from Memberful support. If you don't have a link yet, [contact Memberful support](mailto:info@memberful.com).

**2. Enter your provider details**

Enter the *Client ID*, *Client Secret*, *Issuer*, *Authentication URL*, *Token URL*, and *JWKS URL* you gathered. The four URLs must start with `https://`.

**3. Save the form**

Save the form to finish connecting your provider.

Keep your *Client Secret* secure and don't share it with anyone. If you think it's been compromised, regenerate it in your OIDC provider and update it in Memberful.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.