website/integrations/miscellaneous/adventurelog/index.mdx
AdventureLog is a self-hosted travel tracker and trip planner. AdventureLog is the ultimate travel companion for the modern-day explorer.
The following placeholders are used in this guide:
https://adventurelog.company is the FQDN of the AdventureLog server installation.https://authentik.company is the FQDN of the authentik installation.:::info 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. :::
To support the integration of AdventureLog with authentik, you need to create an application/provider pair in authentik.
Regex redirect URI to ^https://adventurelog.company/accounts/oidc/.\*$.:::info
localhost is unlikely to be a valid server_url because it refers to the server hosting AdventureLog, not authentik. Instead, use the IP address of the server running authentik or a domain name if available.
:::
Log in to your AdventureLog installation as an administrator and launch the Admin Panel. To do so, click your user avatar in the navigation bar, select Settings, then click Launch Admin Panel. Alternatively, visit https://adventurelog.company/admin.
Scroll down to Social Accounts and click Add. Fill in the following fields:
- **Provider**: OpenID Connect
- **Provider ID**: Enter the Client ID from authentik
- **Name**: `authentik`
- **Client ID**: Enter the Client ID from authentik
- **Secret Key**: Enter the Client Secret from authentik
- **Key**: Leave this line blank
- Under **Settings**:
- **server_url**: `https://authentik.company/application/o/<application_slug>/`
- **Sites**: move over the sites you want to enable authentik on, usually `example.com` and `www.example.com` unless you renamed your sites.
If a user has an existing AdventureLog account and wants to link it to their authentik account, they can do so by logging in to their AdventureLog account and navigating to the Settings page. There is a button that says Launch Account Connections, click that and then choose the provider to link to the existing account.
Ensure the https://adventurelog.company/accounts path is routed to the backend, as it shouldn't hit the frontend when it's properly configured. For information on how to configure this, refer to the AdventureLog documentation on reverse proxy configuration here.
Launch your authentik dashboard as an admin and find the AdventureLog app. Click More details then Edit. In the admin interface, click Test under Check Access. If you get a 403 error, you need to grant the user the correct permissions. This can be done by going to the user's profile and adding the correct permissions.
To confirm authentik is correctly integrated with AdventureLog, log out and attempt to log back in using OpenID Connect by clicking the authentik button on the AdventureLog login page.