In Pangolin, go to the Server Admin section. Select “Identity Providers” before proceeding with the “Add Identity Provider” button.Name should be set to something memorable (eg. Pocket ID). The Provider Type should be set to the default OAuth2/OIDC.
You should leave all of the paths default. In the Scopes field, add openid profile email.
Set the Identifier Path to “preferred_username” for Pocket ID integration.
When you’re done, click “Create Identity Provider”! Then, copy the Redirect URL in the “General” tab as you will now need this for your Pocket ID OIDC client.
Lastly, you’ll need to return to your Pocket ID OIDC client in order to add the redirect URI created by Pangolin. Add the URI to Callback URLs, then save your changes! Your configuration should now be complete. You’ll now need to add an external user to Pangolin, or if you have “Auto Provision Users” enabled, you can now log in using Pocket ID SSO.