Hoarder
- In Pocket-ID create a new OIDC Client, name it i.e.
Hoarder
- Set the callback url to:
https://<your-hoarder-subdomain>.<your-domain>/api/auth/callback/custom
- Open your
.env
file from your Hoarder compose and add these lines:
OAUTH_WELLKNOWN_URL = https://<your-pocket-id-subdomain>.<your-domain>/.well-known/openid-configuration
OAUTH_CLIENT_SECRET = <client secret from the created OIDC client>
OAUTH_CLIENT_ID = <client id from the created OIDC client>
OAUTH_PROVIDER_NAME = Pocket-Id
NEXTAUTH_URL = https:///<your-hoarder-subdomain>.<your-domain>
- Optional: If you like to disable password authentication and link your existing hoarder account with your pocket-id identity
DISABLE_PASSWORD_AUTH = true
OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING = true