Beszel
Sign in to the Beszel server monitoring hub with Pocket ID.
Requirements
Section titled “Requirements”- Beszel server
- HTTPS connection to your Beszel server
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Beszeland add the callback URLhttps://beszel.example.com/api/oauth2-redirect. - Click Create and copy the Client ID and the Client secret. Under Show more details, also copy the Authorization URL, the Token URL and the Userinfo URL. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Verify emails in Pocket ID
Section titled “Verify emails in Pocket ID”- In Pocket ID, open Administration → Application Configuration → Email and turn on Emails verified by default.
- Open Administration → Users and select the user account. Make sure the email address is marked as verified. If the icon next to the email isn’t green, click it to mark the email as verified.
Configure Beszel
Section titled “Configure Beszel”- Open the Beszel superuser interface (
/_/#/settings) and go to Settings → Application. - Turn off Hide collection create and edit controls.
- Go to Collections → Users.
- Edit the
userscollection with the gear icon next to the title. - Go to Options → OAuth2.
- Select Active and click Add provider.
- Select the
oidcprovider. - Fill in the fields with the values from Pocket ID:
- Client ID: the Client ID from Pocket ID.
- Client Secret: the Client secret from Pocket ID.
- Display Name: a name of your choice, such as
Pocket. - Auth URL: the Authorization URL from Pocket ID.
- Token URL: the Token URL from Pocket ID.
- Fetch user info from:
User info URL, then enter the Userinfo URL from Pocket ID. - Leave Support PKCE turned on.
- Save the settings.
- Turn Hide collection create and edit controls from step 2 back on, then sign in with Pocket ID to test it.
Disable password login
Section titled “Disable password login”To disable password login, set DISABLE_PASSWORD_AUTH=true in the hub environment variables.
If you only change it in the UI, the value is overwritten on the next restart.
Automatic user creation
Section titled “Automatic user creation”Beszel doesn’t allow automatic user creation by default.
To enable it, set USER_CREATION=true in the hub environment variables.