add Hoarder integration

This commit is contained in:
Miguel Palau Zarza
2024-11-22 11:28:31 -06:00
parent 785403de18
commit b64e6f6e7f
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,55 @@
---
title: Integrate with Hoarder
sidebar_label: Hoarder
---
# Hoarder
<span class="badge badge--secondary">Support level: Community</span>
## What is Hoarder
> A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
>
> -- https://hoarder.app/
## Preparation
The following placeholders will be used:
- `hoarder.company` is the FQDN of the hoarder install.
- `authentik.company` is the FQDN of the authentik install.
## Authentik configuration
**Provider Settings**
In authentik under **Providers**, create an OAuth2/OpenID Provider with these settings:
- Name: `hoarder`
- Redirect URI: `https://hoarder.company/api/auth/callback/custom`
Everything else is up to you, just make sure to grab the client ID and the client secret!
**Application Settings**
Create an application that uses `hoarder` provider. Optionally apply access restrictions to the application.
## Hoarder configuration
In hoarder you'll need to add these environment variables:
```sh
NEXTAUTH_URL=https://hoarder.company
OAUTH_CLIENT_ID=client_id_from_provider
OAUTH_CLIENT_SECRET=client_secret_from_provider
OAUTH_WELLKNOWN_URL=https://authentik.company/application/o/hoarder/.well-known/openid-configuration
OAUTH_PROVIDER_NAME=Authentik
OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING=true
# Optional: You can add this if you only want to allow login with Authentik
# DISABLE_PASSWORD_AUTH=true
# Optional but highly recommended:
# DISABLE_SIGNUPS=true
```
Finally, restart the hoarder server and test your configuration.

View File

@ -127,6 +127,7 @@ module.exports = {
"services/sonarr/index",
"services/tautulli/index",
"services/weblate/index",
"services/hoarder/index",
],
},
{