> For the complete documentation index, see [llms.txt](https://docs.pliro.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pliro.co/connect.md).

# Pliro Connect

Sign subscribers into your website and apps through Pliro.

Pliro Connect provides a unified way for subscribers to sign into your website and apps. Pliro Connect is built according to [OAuth 2.0](https://oauth.net/2/) and [OpenID Connect (OIDC)](https://openid.net/connect/) industry standards and there are many off-the-shelf plugins and client libraries available to aid in integrating Pliro Connect into your website and apps.

Here's an overview of how Pliro Connect works:

1. When a subscriber wants to sign in you redirect them to Pliro.
2. After signing in, they are redirected back to your website or app with a token you can use to access information about the signed in subscriber such as their name, email, and active subscription plan.
3. When a subscriber signs out of your website or app you can optionally request them to be signed out of Pliro as well.
4. When a subscriber signs out of Pliro your website can optionally be notified and sign them out as well.

## Prerequisites

To get started you'll need to create an OAuth application in Pliro. This can be done from the Pliro dashboard by navigating to "Settings > OAuth applications > New application". We recommend using [Pliro's test environment](/test-environment.md) while building out your integration. If you are working on your local machine you can set your application's Redirect URI to `http://localhost:3000/callback` or something similar.

After creating an OAuth application, the application's client ID and client secret will be shown. You'll need these credentials to authenticate your requests to Pliro.

## Learn how to:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Configure an OIDC plugin or client library</strong></td><td>Use an off-the-shelf plugin or client library to handle large parts of your integration.</td><td><a href="/connect/configure-an-oidc-plugin-or-client-library.md">Configure an OIDC plugin or client library</a></td></tr><tr><td><strong>Sign in members</strong></td><td>Sign members into your website and grant them access to protected content.</td><td><a href="/connect/sign-in-customers.md">Sign in members</a></td></tr><tr><td><strong>Update member information</strong></td><td>Respond to member actions within Pliro.</td><td><a href="/connect/update-customer-information.md">Update member information</a></td></tr><tr><td><strong>Silently re-authenticate members</strong></td><td>Check if a member is still signed into Pliro.</td><td><a href="/connect/silent-re-authentication.md">Silent re-authentication</a></td></tr><tr><td><strong>Sign members out of Pliro</strong></td><td>Notify Pliro when signing members out of your website.</td><td><a href="/connect/sign-customers-out-of-pliro.md">Sign members out of Pliro</a></td></tr><tr><td><strong>Sign-out notifications</strong></td><td>Be notified when members sign out of Pliro.</td><td><a href="/connect/sign-out-notifications.md">Sign-out notifications</a></td></tr></tbody></table>
