Skip to content

Commit

Permalink
changes from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nicedevil007 committed Feb 10, 2025
1 parent 458720b commit dc43e81
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ sidebar_label: PocketBase
> With its simple API and easy-to-use dashboard, it's perfect for small projects, prototypes, or even full-scale applications.
>
> -- https://pocketbase.io/
>
> This guide explains how to configure PocketBase so that your application uses it in the backend, enabling authentik as the OAuth provider for login.
:::note
If you are using an application that relies on PocketBase as its backend, you can replace the placeholders used here with the application's name.
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.
:::

## Preparation
Expand All @@ -45,9 +44,9 @@ This documentation lists only the settings that you need to change from their de

## PocketBase configuration

1. Sign in to PocketBase and access the superusers dashboard by navigating to <kbd>https://<em>pocketbase.company</em>/_/#/settings</kbd>.
1. Sign in to PocketBase and access the superusers dashboard by navigating to <kbd>https://<em>pocketbase.company</em>/\_/#/settings</kbd>.
2. Toggle off **Hide collection create and edit controls**," then click the **Save changes** button.
3. Open the **users** collection by clicking the **Collections** icon on the sidebar or head to <kbd>https://<em>pocketbase.company</em>/_/#/collections?collection=pb_users_auth</kbd>.
3. Open the **users** collection by clicking the **Collections** icon on the sidebar or head to <kbd>https://<em>pocketbase.company</em>/\_/#/collections?collection=pb_users_auth</kbd>.
4. Click the gear icon next to the collection's name, then select the **Options** tab in the popup on the right.
5. Enable the **OAuth2** authentication method by clicking the **OAuth2** tab and toggling **Enable**.
6. Click **+ Add provider**, then select **OpenID Connect**.
Expand Down

0 comments on commit dc43e81

Please sign in to comment.