BetterShift
Configure OIDC authentication for BetterShift
The following example variables are used, and should be replaced with your actual URLs.
bettershift.example.com(The URL of your bettershift instance.)id.example.com(The URL of your Pocket ID instance.)
Pocket-ID Setup
- In Pocket-ID create a new OIDC Client, name it, for example
bettershift - Set a logo for this OIDC Client if you would like to.
- Set the callback URLs to:
https://bettershift.example.com/api/auth/oauth2/callback/custom-oidc, or leave blank to autofill on first login. - Copy the
Client ID,Client SecretandOIDC-Discovery-URLfor use in the next steps.
BetterShift Setup
Add/edit the following lines to your bettershift .env file replacing the values with the ones you copied above:
Save and redeploy bettershift and you should be able to login using OIDC with Pocket ID.