Integrate with AdventureLog
Support level: Community
What is AdventureLog?
AdventureLog is a self-hosted travel tracker and trip planner.
Preparation
The following placeholders are used in this guide:
https://adventurelog.companyis the FQDN of the AdventureLog server installation.https://authentik.companyis the FQDN of the authentik installation.
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
In authentik versions earlier than 2026.5, all Redirect URIs are automatically treated as Authorization type. If you are using one of these older authentik versions, add only the Authorization URL to your Redirect URIs and do not configure a Post Logout URI.
To support the integration of AdventureLog with authentik, you need to create an application/provider pair in authentik.
Create an application and provider
-
Log in to authentik as an administrator and open the authentik Admin interface.
-
Navigate to Applications > Applications and click New Application 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. Note the application Slug because it will be required later.
- 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 and Client Secret values because they will be required later.
- Add a Redirect URI of type
RegexAuthorizationas^https://adventurelog.company/accounts/oidc/.*$. - Select any available signing key.
- Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
-
Click Submit to save the new application and provider.
AdventureLog configuration
To support the integration of authentik with AdventureLog, you need to configure OpenID Connect in the AdventureLog Admin Panel.
If authentik users should be able to create AdventureLog accounts during their first login, set the following environment variable for the AdventureLog backend and restart AdventureLog:
SOCIALACCOUNT_ALLOW_SIGNUP=True
The server_url value is used by the AdventureLog backend. Use an authentik URL that the AdventureLog server or container can reach, not a browser-only hostname such as localhost.
-
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, then under Social applications, click Add.
-
Configure the following settings:
-
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 field blank.
-
Settings:
Settings{"server_url": "https://authentik.company/application/o/<application_slug>/"} -
Sites: move over the sites you want to enable authentik on. This is usually
example.comandwww.example.comunless you renamed your sites.
-
-
Click Save.
If login returns a 404 error after authentik redirects back to AdventureLog, ensure that the https://adventurelog.company/accounts/* path is routed to the AdventureLog backend.
Link an existing AdventureLog account
Users with an existing AdventureLog account can link it to their authentik account. Log in to AdventureLog with the existing account, click your user avatar in the navigation bar, select Settings, then click Launch Account Connections in the Social Authentication section. Select authentik to link the accounts.
If authentik returns a permission error, open the AdventureLog application in authentik, use Check Access to test the affected user, and adjust the application's bindings as needed.
Configuration verification
To confirm that authentik is properly configured with AdventureLog, log out, open AdventureLog, and sign in with authentik.