-
-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
website/integrations: added hoarder integration #12161
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- `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: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should tell the user where it is. Probably something similar to:
Suggested change
|
||||||
|
||||||
- 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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should tell the user where the provider tab is and how to create one |
||||||
|
||||||
## Hoarder configuration | ||||||
|
||||||
In hoarder you'll need to add these environment variables: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
```sh | ||||||
NEXTAUTH_URL=https://hoarder.company | ||||||
OAUTH_CLIENT_ID=client_id_from_provider | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
OAUTH_CLIENT_SECRET=client_secret_from_provider | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
OAUTH_WELLKNOWN_URL=https://authentik.company/application/o/hoarder/.well-known/openid-configuration | ||||||
OAUTH_PROVIDER_NAME=Authentik | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ module.exports = { | |
"services/sonarr/index", | ||
"services/tautulli/index", | ||
"services/weblate/index", | ||
"services/hoarder/index", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I'm not mistaken, services in the sidebar should be sorted alphabetically. |
||
], | ||
}, | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.