ByteStash
Sign in to the ByteStash code snippet manager with Pocket ID.
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
ByteStashand add the callback URLhttps://bytestash.example.com/api/oauth/openid. - Click Create and copy the Client ID and the Client secret. 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.
Configure ByteStash
Section titled “Configure ByteStash”- Set the following ByteStash environment variables:
OIDC_ENABLED:trueto enable OIDC authentication.OIDC_DISPLAY_NAME: the lowercase name of the provider (pocketid).OIDC_ISSUER_URL: the URL of your Pocket ID instance, such ashttps://id.example.com.OIDC_CLIENT_ID: the Client ID from Pocket ID.OIDC_CLIENT_SECRET: the Client secret from Pocket ID.
- Set up your email address in ByteStash. It has to match your email address in Pocket ID.