Termix
Configure Termix with Pocket ID authentication
The following example variables are used, and should be replaced with your actual URLS.
- termix.example.com (The url of your Termix instance)
- id.example.com (The url of your Pocket ID instance)
Pocket ID Setup
- In Pocket-ID create a new OIDC Client, name it i.e.
Termix. - Set the callback URL to:
https://termix.example.com/users/oidc/callbackas recommended by Termix' documentation. - (Optional) Upload a logo for your website or download the termix logo from Self-Hosted Dashboard Icons
- Copy the
Client ID,Client Secret,Issuer URL,Authorization URL,Token URLandUserinfo URLfor use in the next steps. - (Optional) Create a user group
termix-adminand add the users that should become admins in Termix
Termix Setup
You can set this up in the GUI, or you can use environment variables.
GUI
In the GUI, you can configure multiple OIDC clients.
- Login to Termix as an Administrator
- Click your admin username in the bottom-left corner and open the Admin Settings interface.
- Navigate to the SSO PROVIDERS tab.
- Click Add provider
- Set the following settings:
Display name:Pocket IDClient ID: Client ID from Pocket IDClient Secret: Client secret from Pocket IDIssuer URL: Issuer URL from Pocket IDAuthorization URL: Authorization URL from Pocket IDToken URL: Token URL from Pocket ID- (Optional) If you would like to configure the admins from Pocket ID:
- Add
groupsto theScopesfield. It should becomeopenid email profile groups Group claim:groupsAdmin group:termix-admin
- Add
- Click Save Provider.
Environment variables
Set the following environment variables in your .env
(Optional) If you would like to configure the admins from Pocket ID
Known issues
NOTE be careful with the option General - Silent OIDC Login by Default because it could sent your application in a infinite loop