Compare commits

...

14 Commits

Author SHA1 Message Date
20003dcee9 Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-20 12:35:14 +03:00
b2a08383d0 Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-20 10:31:53 +03:00
3e5654655d Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-18 18:59:30 +03:00
dd1fa9ba8a Update website/integrations/services/papra/index.mdx
Co-authored-by: Dominic R <dominic@sdko.org>
Signed-off-by: Dewi Roberts <dewi@goauthentik.io>
2025-06-18 16:16:22 +01:00
e6d1786990 Updated language 2025-06-18 15:31:42 +03:00
56d78d6a49 Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-18 15:30:19 +03:00
2db84b3112 Docker Compose captialization 2025-06-18 15:29:29 +03:00
5051897a19 Update website/integrations/services/papra/index.mdx
Co-authored-by: Dominic R <dominic@sdko.org>
Signed-off-by: Dewi Roberts <dewi@goauthentik.io>
2025-06-18 13:26:38 +01:00
52ecaca7f3 Update website/integrations/services/papra/index.mdx
Co-authored-by: Dominic R <dominic@sdko.org>
Signed-off-by: Dewi Roberts <dewi@goauthentik.io>
2025-06-18 13:22:43 +01:00
65009b193c Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-18 13:07:47 +03:00
4ee13de801 Changed icon link to authentik 2025-06-18 13:06:55 +03:00
27079bf3b0 Merge remote-tracking branch 'origin/main' into website/integrations--add-papra 2025-06-17 15:23:56 +03:00
50cfec98f9 Finished document 2025-06-17 14:49:41 +03:00
e63545458c Start document and update sidebar 2025-06-16 15:08:37 +03:00
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,61 @@
---
title: Integrate with Papra
sidebar_label: Papra
support_level: community
---
## What is Papra
> An open-source document management platform designed to help you organize, secure, and archive your files effortlessly.
>
> -- https://papra.app/
## Preparation
The following placeholders are used in this guide:
- `authentik.company` is the FQDN of the authentik installation.
- `papra.company` is the FQDN of the Papra installation.
:::note
This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
:::
## authentik configuration
To support the integration of Papra with authentik, you need to create an application/provider pair in authentik.
### Create an application and provider in authentik
1. Log in to authentik as an administrator and open the authentik Admin interface.
2. Navigate to **Applications** > **Applications** and click **Create with Provider** to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
- **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
- **Choose a Provider type**: select **OAuth2/OpenID Connect** as the provider type.
- **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
- Note the **Client ID**, **Client Secret**, and **Slug** values because they will be required later.
- Set a `Strict` redirect URI to `https://papra.company/api/auth/oauth2/callback/authentik`.
- Select any available signing key.
- **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/flows-stages/bindings/) (policy, group, or user) to manage the listing and access to applications on a user's **My applications** page.
3. Click **Submit** to save the new application and provider.
## Papra configuration
To support the integration of Papra with authentik, you'll need to add the following environment variable to your Papra deployment:
```yaml
AUTH_PROVIDERS_CUSTOMS=[{"providerId": "authentik","providerName": "authentik","providerIconUrl": "https://authentik.company/static/dist/assets/icons/icon.png","clientId": "<client_id>","clientSecret": "<client_secret>","type": "oidc","discoveryUrl": "https://authentik.company/application/o/<application_slug>/.well-known/openid-configuration","scopes": ["openid", "profile", "email"]}]
```
:::note
The JSON needs to be inline because various `.env` parsers, such as the one used by Docker Compose, do not support multiline environment variables.
:::
## Configuration verification
To verify the integration with Papra, log out and attempt to log back in using the **Log in with authentik** button. You should be redirected to the authenik login page. Once authenticated, you should be redirected to the Papra dashboard.
## Resources
- [Papra Docs - Setup Custom OAuth2 Providers](https://docs.papra.app/guides/setup-custom-oauth2-providers/)

View File

@ -87,6 +87,7 @@ const items = [
"services/outline/index", "services/outline/index",
"services/paperless-ng/index", "services/paperless-ng/index",
"services/paperless-ngx/index", "services/paperless-ngx/index",
"services/papra/index",
"services/snipe-it/index", "services/snipe-it/index",
"services/tandoor/index", "services/tandoor/index",
"services/wiki-js/index", "services/wiki-js/index",