website/integrations/platforms/pocketbase/index.md
PocketBase is a lightweight backend solution that provides a built-in database, authentication, and file storage. It allows developers to quickly set up and manage backend services without complex configurations. With its simple API and easy-to-use dashboard, it's perfect for small projects, prototypes, or even full-scale applications.
:::info If your application relies on PocketBase as its backend, you may need to replace the pocketbase.company placeholder with your application's name. However, if PocketBase is hosted on a separate domain and users are redirected there for authentication, this notice may not be necessary. Conversely, if PocketBase is hosted on the same domain as your application, this distinction might be relevant. :::
The following placeholders are used in this guide:
pocketbase.company is the FQDN of the PocketBase installation.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 PocketBase with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://pocketbase.company/api/oauth2-redirect.https://pocketbase.company/\_/#/settings.https://pocketbase.company/\_/#/collections?collection=pb_users_auth.authentik.https://authentik.company/application/o/authorize/.https://authentik.company/application/o/token/.User info URL, then set User info URL to https://authentik.company/application/o/userinfo/