Beszel
Set up Pocket ID authentication for Beszel
Requirements
- Beszel server
- HTTPS connection to your Beszel server
Create OIDC Client in Pocket ID
- Create a new OIDC Client in Pocket ID (e.g.,
beszel). - Set the Callback URL to the value below, or leave blank to autofill on first login.
- Optional: Download a PNG or SVG logo from the Beszel project and upload it now.
- Copy the Client ID, Client Secret, Authorization URL, Token URL, and Userinfo URL for use in the next section.
Configure Pocket ID
- Open the Pocket ID settings page and navigate to
Application Configuration. - Enable Emails Verified.
- Navigate to Users and select the user account. Ensure the email address is marked as Verified. If the icon next to the email is not green, click it to manually toggle the status to verified.
[!NOTE] Beszel requires the OAuth provider to return a valid, verified email address to create new users.
If you see an error like:
Failed to create record. { "email": "cannot be blank" }
It means your OAuth provider is not returning a usable email.
Make sure "Emails Verified" is enabled in Pocket ID or that your identity provider returns a verified email in itsuserinforesponse.
Configure Beszel
- Open the Beszel superuser interface (
/_/#/settings) then navigate to:Settings > Application. - Disable the
Hide collection create and edit controlssetting. - Navigate to
Collections > Users. - Modify the
userscollection using the gear icon near the title. - Navigate to
Options > OAuth2. - Enable the Active checkmark then click
Add provider. - Select the
oidcprovider. - Fill in the required fields with values from Pocket ID:
- Client ID
- Client Secret
- Display Name of your choice (i.e.:
Pocket) - Auth URL
- Token URL
- Set Fetch user info from to
User info URL - Leave
Support PKCEenabled
- Save the settings.
- Re-enable
Hide collection create and edit controlsfrom step 2. - Test the OAuth login to ensure it works.
Disable password login
To disable password login, set DISABLE_PASSWORD_AUTH=true in the hub environment variables. Changing in the UI alone will see the value overwritten on next restart.
Automatic user creation
Beszel does not allow automatic user creation by default. To enable it, set USER_CREATION=true in the hub environment variables.