ezBookkeeping
Sign in to the ezBookkeeping finance app with Pocket ID.
Requirements
Section titled “Requirements”- ezBookkeeping
v1.2.0or higher
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
ezBookkeepingand add the callback URLhttps://ezbookkeeping.example.com/oauth2/callback. - Click Create and copy the Client ID and the Client secret. Under Show more details, also copy the Issuer 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.
Configure ezBookkeeping
Section titled “Configure ezBookkeeping”If you configure ezBookkeeping with the configuration file, update it as shown in the example below:
[auth]enable_oauth2_auth = trueoauth2_provider = oidcoauth2_client_id = <client-id>oauth2_client_secret = <client-secret>oidc_provider_base_url = https://id.example.comenable_oidc_display_name = trueoidc_custom_display_name = Pocket IDIf you configure ezBookkeeping with environment variables, set them as shown in the example below:
EBK_AUTH_ENABLE_OAUTH2_AUTH=trueEBK_AUTH_OAUTH2_PROVIDER=oidcEBK_AUTH_OAUTH2_CLIENT_ID=<client-id>EBK_AUTH_OAUTH2_CLIENT_SECRET=<client-secret>EBK_AUTH_OIDC_PROVIDER_BASE_URL=https://id.example.comEBK_AUTH_ENABLE_OIDC_DISPLAY_NAME=trueEBK_AUTH_OIDC_CUSTOM_DISPLAY_NAME=Pocket IDThen restart ezBookkeeping. The login page now shows a Log in with Pocket ID button.