mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 21:00:06 +00:00
1.1 KiB
1.1 KiB
id
| id |
|---|
| grist |
Grist
Pocket ID Setup
- In Pocket-ID create a new OIDC Client, name it i.e.
Grist - Set the callback url to:
https://<Grist Host>/oauth2/callback - In Grist (Docker/Docker Compose/etc), set these environment variables:
GRIST_OIDC_IDP_ISSUER="https://<Pocket ID Host>/.well-known/openid-configuration"
GRIST_OIDC_IDP_CLIENT_ID="<Client ID from the OIDC Client created in Pocket ID>"
GRIST_OIDC_IDP_CLIENT_SECRET="<Client Secret from the OIDC Client created in Pocket ID>"
GRIST_OIDC_SP_HOST="https://<Grist Host>"
GRIST_OIDC_IDP_SCOPES="openid email profile" # Default
GRIST_OIDC_IDP_SKIP_END_SESSION_ENDPOINT=true # Default=false, needs to be true for Pocket Id b/c end_session_endpoint is not implemented
GRIST_OIDC_IDP_END_SESSION_ENDPOINT="https://<Pocket ID Host>/api/webauthn/logout" # Only set this if GRIST_OIDC_IDP_SKIP_END_SESSION_ENDPOINT=false and you need to define a custom endpoint
- Also ensure that the
GRIST_DEFAULT_EMAILenv variable is set to the same email address as your user profile within Pocket ID - Start/Restart Grist