Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pocket-id/pocket-id
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.27.1
Choose a base ref
...
head repository: pocket-id/pocket-id
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jan 27, 2025

  1. Copy the full SHA
    4a97986 View commit details
  2. Copy the full SHA
    a65ce56 View commit details
  3. Copy the full SHA
    8cd834a View commit details
  4. Copy the full SHA
    5c452ce View commit details
  5. Copy the full SHA
    04c7f18 View commit details
  6. fix: smtp hello for tls connections (#180)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Jan 27, 2025
    Copy the full SHA
    781ff7a View commit details
  7. chore: downgrade formsnap

    stonith404 committed Jan 27, 2025
    Copy the full SHA
    dab37c5 View commit details
  8. Copy the full SHA
    66edb18 View commit details
  9. release: 0.27.2

    stonith404 committed Jan 27, 2025
    Copy the full SHA
    ea21eba View commit details

Commits on Jan 28, 2025

  1. Copy the full SHA
    7798580 View commit details
  2. docs: add version label to navbar (#186)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Jan 28, 2025
    Copy the full SHA
    b530d64 View commit details
  3. Copy the full SHA
    7497f4a View commit details
  4. Copy the full SHA
    a1b20f0 View commit details
  5. refactor: run formatter

    stonith404 committed Jan 28, 2025
    Copy the full SHA
    28346da View commit details

Commits on Feb 1, 2025

  1. Copy the full SHA
    75f531f View commit details
  2. Copy the full SHA
    37a835b View commit details
  3. Copy the full SHA
    8ae4463 View commit details
  4. Copy the full SHA
    e607fe4 View commit details
  5. Copy the full SHA
    2d3cba6 View commit details

Commits on Feb 2, 2025

  1. docs: add helper scripts install for proxmox (#197)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Feb 2, 2025
    Copy the full SHA
    5afd651 View commit details

Commits on Feb 3, 2025

  1. Copy the full SHA
    ecd74b7 View commit details
  2. Copy the full SHA
    9ab1787 View commit details
  3. Copy the full SHA
    4db44e4 View commit details
  4. Copy the full SHA
    61e71ad View commit details
  5. Copy the full SHA
    430421e View commit details
  6. Copy the full SHA
    13b02a0 View commit details
  7. release: 0.28.0

    stonith404 committed Feb 3, 2025
    Copy the full SHA
    e2c3813 View commit details

Commits on Feb 4, 2025

  1. Copy the full SHA
    19ef483 View commit details
  2. Copy the full SHA
    d06257e View commit details
  3. release: 0.28.1

    stonith404 committed Feb 4, 2025
    Copy the full SHA
    96303de View commit details

Commits on Feb 5, 2025

  1. docs: enhance documentation (#205)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Feb 5, 2025
    Copy the full SHA
    7350e34 View commit details
  2. Copy the full SHA
    c6ab2b2 View commit details
  3. Copy the full SHA
    e864d5d View commit details
  4. Copy the full SHA
    15cde6a View commit details
  5. release: 0.29.0

    stonith404 committed Feb 5, 2025
    Copy the full SHA
    974b7b3 View commit details
  6. Copy the full SHA
    0bae7e4 View commit details

Commits on Feb 6, 2025

  1. Copy the full SHA
    fb8cc0b View commit details
  2. Copy the full SHA
    d66cf70 View commit details
  3. Copy the full SHA
    07ee087 View commit details
  4. docs: add landing page (#203)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Feb 6, 2025
    Copy the full SHA
    3a6fce5 View commit details
  5. Copy the full SHA
    3dda2e1 View commit details
  6. Copy the full SHA
    98add37 View commit details
  7. Copy the full SHA
    7c04bda View commit details
  8. Copy the full SHA
    0751540 View commit details

Commits on Feb 8, 2025

  1. Copy the full SHA
    626f87d View commit details
  2. Copy the full SHA
    bea1158 View commit details
  3. release: 0.30.0

    stonith404 committed Feb 8, 2025
    Copy the full SHA
    9b77e8b View commit details

Commits on Feb 9, 2025

  1. Copy the full SHA
    7fbc356 View commit details
  2. Copy the full SHA
    43790dc View commit details

Commits on Feb 11, 2025

  1. feat: display source in user and group table (#225)

    Co-authored-by: Elias Schneider <login@eliasschneider.com>
    kmendell and stonith404 authored Feb 11, 2025
    Copy the full SHA
    9ed2adb View commit details
Showing with 3,206 additions and 21,799 deletions.
  1. +1 −1 .env.example
  2. +4 −2 .github/workflows/build-and-push-docker-image.yml
  3. +12 −3 .github/workflows/e2e-tests.yml
  4. +0 −5 .gitignore
  5. +1 −1 .version
  6. +88 −0 CHANGELOG.md
  7. +1 −1 CONTRIBUTING.md
  8. +2 −2 Dockerfile
  9. +2 −2 README.md
  10. +1 −1 backend/.env.example
  11. +1 −1 backend/cmd/main.go
  12. +29 −30 backend/go.mod
  13. +68 −66 backend/go.sum
  14. +4 −3 backend/internal/bootstrap/application_images_bootstrap.go
  15. +1 −1 backend/internal/bootstrap/bootstrap.go
  16. +6 −5 backend/internal/bootstrap/db_bootstrap.go
  17. +8 −8 backend/internal/bootstrap/router_bootstrap.go
  18. +8 −3 backend/internal/common/env_config.go
  19. +35 −0 backend/internal/common/errors.go
  20. +7 −6 backend/internal/controller/app_config_controller.go
  21. +5 −4 backend/internal/controller/audit_log_controller.go
  22. +5 −4 backend/internal/controller/custom_claim_controller.go
  23. +82 −18 backend/internal/controller/oidc_controller.go
  24. +5 −2 backend/internal/controller/test_controller.go
  25. +7 −6 backend/internal/controller/user_controller.go
  26. +6 −5 backend/internal/controller/user_group_controller.go
  27. +7 −6 backend/internal/controller/webauthn_controller.go
  28. +5 −3 backend/internal/controller/well_known_controller.go
  29. +3 −0 backend/internal/dto/app_config_dto.go
  30. +2 −2 backend/internal/dto/audit_log_dto.go
  31. +2 −1 backend/internal/dto/dto_mapper.go
  32. +34 −8 backend/internal/dto/oidc_dto.go
  33. +1 −5 backend/internal/dto/user_group_dto.go
  34. +1 −1 backend/internal/dto/webauthn_dto.go
  35. +5 −4 backend/internal/job/db_cleanup.go
  36. +1 −1 backend/internal/job/ldap_job.go
  37. +1 −1 backend/internal/middleware/cors.go
  38. +4 −3 backend/internal/middleware/error_handler.go
  39. +3 −2 backend/internal/middleware/file_size_limit.go
  40. +5 −4 backend/internal/middleware/jwt_auth.go
  41. +2 −1 backend/internal/middleware/rate_limit.go
  42. +3 −0 backend/internal/model/app_config.go
  43. +3 −2 backend/internal/model/base.go
  44. +16 −13 backend/internal/model/oidc.go
  45. +2 −1 backend/internal/model/types/date_time.go
  46. +1 −1 backend/internal/model/user.go
  47. +3 −2 backend/internal/model/webauthn.go
  48. +44 −8 backend/internal/service/app_config_service.go
  49. +5 −4 backend/internal/service/audit_log_service.go
  50. +3 −3 backend/internal/service/custom_claim_service.go
  51. +55 −27 backend/internal/service/email_service.go
  52. +2 −1 backend/internal/service/email_service_templates.go
  53. +15 −7 backend/internal/service/geolite_service.go
  54. +39 −51 backend/internal/service/jwt_service.go
  55. +9 −8 backend/internal/service/ldap_service.go
  56. +171 −51 backend/internal/service/oidc_service.go
  57. +70 −22 backend/internal/service/test_service.go
  58. +13 −10 backend/internal/service/user_group_service.go
  59. +19 −15 backend/internal/service/user_service.go
  60. +7 −6 backend/internal/service/webauthn_service.go
  61. +2 −1 backend/internal/utils/cookie/cookie_names.go
  62. +2 −1 backend/internal/utils/email/email_service_templates.go
  63. +2 −1 backend/internal/utils/file_util.go
  64. +11 −0 backend/internal/utils/string_util.go
  65. 0 ...250120102531_fix_empy_ldap_id_string.down.sql → 20250120102531_fix_empty_ldap_id_string.down.sql}
  66. 0 .../{20250120102531_fix_empy_ldap_id_string.up.sql → 20250120102531_fix_empty_ldap_id_string.up.sql}
  67. +1 −0 backend/resources/migrations/postgres/20250131154719_oidc_user_group_restriction.down.sql
  68. +8 −0 backend/resources/migrations/postgres/20250131154719_oidc_user_group_restriction.up.sql
  69. +1 −0 backend/resources/migrations/postgres/20250203082527_fix_empty_user_group_ldap_id_string.down.sql
  70. +1 −0 backend/resources/migrations/postgres/20250203082527_fix_empty_user_group_ldap_id_string.up.sql
  71. +1 −0 backend/resources/migrations/postgres/20250210152631_post_logout_url.down.sql
  72. +1 −0 backend/resources/migrations/postgres/20250210152631_post_logout_url.up.sql
  73. 0 ...250120102531_fix_empy_ldap_id_string.down.sql → 20250120102531_fix_empty_ldap_id_string.down.sql}
  74. 0 .../{20250120102531_fix_empy_ldap_id_string.up.sql → 20250120102531_fix_empty_ldap_id_string.up.sql}
  75. +1 −0 backend/resources/migrations/sqlite/20250131154719_oidc_user_group_restriction.down.sql
  76. +8 −0 backend/resources/migrations/sqlite/20250131154719_oidc_user_group_restriction.up.sql
  77. +1 −0 backend/resources/migrations/sqlite/20250203082527_fix_empty_user_group_ldap_id_string.down.sql
  78. +1 −0 backend/resources/migrations/sqlite/20250203082527_fix_empty_user_group_ldap_id_string.up.sql
  79. +1 −0 backend/resources/migrations/sqlite/20250210152631_post_logout_url.down.sql
  80. +1 −0 backend/resources/migrations/sqlite/20250210152631_post_logout_url.up.sql
  81. +1 −1 docker-compose.yml
  82. +0 −26 docs/docs/client-examples/cloudflare-zero-trust.md
  83. +0 −22 docs/docs/client-examples/grist.md
  84. +0 −25 docs/docs/client-examples/hoarder.md
  85. BIN docs/docs/client-examples/imgs/jellyfin_img.png
  86. BIN docs/docs/client-examples/imgs/jellyfin_img2.png
  87. BIN docs/docs/client-examples/imgs/jellyfin_img3.png
  88. +0 −63 docs/docs/client-examples/jellyfin.md
  89. +0 −46 docs/docs/client-examples/netbox.md
  90. +0 −17 docs/docs/client-examples/open-webui.md
  91. +0 −42 docs/docs/client-examples/pgadmin.md
  92. +0 −38 docs/docs/client-examples/portainer.md
  93. +0 −30 docs/docs/client-examples/proxmox.md
  94. +0 −28 docs/docs/client-examples/semaphore-ui.md
  95. +0 −22 docs/docs/client-examples/vikunja.md
  96. +0 −25 docs/docs/configuration/environment-variables.md
  97. +0 −40 docs/docs/configuration/ldap.md
  98. +0 −183 docs/docs/guides/proxy-services.md
  99. +0 −24 docs/docs/introduction.md
  100. +0 −73 docs/docs/setup/installation.md
  101. +0 −13 docs/docs/setup/nginx-reverse-proxy.md
  102. +0 −45 docs/docs/setup/upgrading.md
  103. +0 −13 docs/docs/troubleshooting/account-recovery.md
  104. +0 −64 docs/docusaurus.config.ts
  105. +0 −17,969 docs/package-lock.json
  106. +0 −47 docs/package.json
  107. +0 −104 docs/sidebars.ts
  108. +0 −6 docs/src/pages/index.tsx
  109. 0 docs/static/.nojekyll
  110. BIN docs/static/img/pocket-id.png
  111. +0 −8 docs/tsconfig.json
  112. +1,407 −1,926 frontend/package-lock.json
  113. +36 −39 frontend/package.json
  114. +0 −6 frontend/postcss.config.js
  115. +7 −3 frontend/src/app.css
  116. +23 −15 frontend/src/hooks.server.ts
  117. +75 −0 frontend/src/lib/components/collapsible-card.svelte
  118. +10 −12 frontend/src/lib/components/copy-to-clipboard.svelte
  119. +3 −4 frontend/src/lib/components/header/header.svelte
  120. +30 −4 frontend/src/lib/components/ui/alert/alert.svelte
  121. +1 −1 frontend/src/lib/components/ui/card/card-description.svelte
  122. +1 −1 frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte
  123. +1 −1 frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte
  124. +1 −1 frontend/src/lib/components/ui/select/select-item.svelte
  125. +18 −7 frontend/src/lib/services/app-config-service.ts
  126. +16 −17 frontend/src/lib/services/oidc-service.ts
  127. +1 −1 frontend/src/lib/services/webauthn-service.ts
  128. +7 −4 frontend/src/lib/types/application-configuration.ts
  129. +7 −0 frontend/src/lib/types/oidc.type.ts
  130. +17 −38 frontend/src/routes/authorize/+page.svelte
  131. +5 −3 frontend/src/routes/authorize/components/client-provider-images.svelte
  132. +43 −0 frontend/src/routes/logout/+page.svelte
  133. +3 −0 frontend/src/routes/settings/+layout.server.ts
  134. +3 −3 frontend/src/routes/settings/+layout.svelte
  135. +12 −1 frontend/src/routes/settings/account/+page.svelte
  136. +22 −40 frontend/src/routes/settings/admin/application-configuration/+page.svelte
  137. +41 −38 frontend/src/routes/settings/admin/application-configuration/forms/app-config-email-form.svelte
  138. +28 −24 frontend/src/routes/settings/admin/application-configuration/forms/app-config-general-form.svelte
  139. +101 −65 frontend/src/routes/settings/admin/application-configuration/forms/app-config-ldap-form.svelte
  140. +52 −19 frontend/src/routes/settings/admin/oidc-clients/[id]/+page.svelte
  141. +7 −3 frontend/src/routes/settings/admin/oidc-clients/oidc-callback-url-input.svelte
  142. +14 −3 frontend/src/routes/settings/admin/oidc-clients/oidc-client-form.svelte
  143. +34 −0 frontend/src/routes/settings/admin/oidc-clients/user-group-selection.svelte
  144. +15 −19 frontend/src/routes/settings/admin/user-groups/[id]/+page.svelte
  145. +2 −1 frontend/src/routes/settings/admin/user-groups/user-group-form.svelte
  146. +11 −2 frontend/src/routes/settings/admin/user-groups/user-group-list.svelte
  147. +12 −16 frontend/src/routes/settings/admin/users/[id]/+page.svelte
  148. +2 −1 frontend/src/routes/settings/admin/users/user-form.svelte
  149. +16 −26 frontend/src/routes/settings/admin/users/user-list.svelte
  150. +1 −1 frontend/svelte.config.js
  151. +1 −1 frontend/tests/account-settings.spec.ts
  152. +46 −1 frontend/tests/application-configuration.spec.ts
  153. +2 −1 frontend/tests/data.ts
  154. +1 −1 frontend/tests/oidc-client-settings.spec.ts
  155. +49 −0 frontend/tests/oidc.spec.ts
  156. +2 −0 frontend/tests/user-group.spec.ts
  157. +2 −0 frontend/tests/user-settings.spec.ts
  158. +13 −11 frontend/tests/utils/passkey.util.ts
  159. +2 −1 frontend/vite.config.ts
  160. +3 −0 reverse-proxy/Caddyfile.trust-proxy
  161. +1 −1 scripts/development/deploy-development-image.sh
  162. +10 −6 scripts/docker/entrypoint.sh
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See the README for more information: https://github.com/stonith404/pocket-id?tab=readme-ov-file#environment-variables
# See the README for more information: https://github.com/pocket-id/pocket-id?tab=readme-ov-file#environment-variables
PUBLIC_APP_URL=http://localhost
TRUST_PROXY=false
MAXMIND_LICENSE_KEY=
6 changes: 4 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 # Using an older version because of https://github.com/actions/runner-images/issues/11471
permissions:
contents: read
packages: write
steps:
- name: checkout code
uses: actions/checkout@v3
@@ -17,7 +20,6 @@ jobs:
with:
images: |
ghcr.io/${{ github.repository }}
${{ github.repository }}
tags: |
type=semver,pattern={{version}},prefix=v
type=semver,pattern={{major}}.{{minor}},prefix=v
15 changes: 12 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -2,8 +2,17 @@ name: E2E Tests
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- ".github/**"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- ".github/**"

jobs:
build:
timeout-minutes: 20
@@ -15,7 +24,7 @@ jobs:
- name: Build and export
uses: docker/build-push-action@v6
with:
tags: stonith404/pocket-id:test
tags: pocket-id/pocket-id:test
outputs: type=docker,dest=/tmp/docker-image.tar

- name: Upload Docker image artifact
@@ -56,7 +65,7 @@ jobs:
docker run -d --name pocket-id-sqlite \
-p 80:80 \
-e APP_ENV=test \
stonith404/pocket-id:test
pocket-id/pocket-id:test
- name: Run Playwright tests
working-directory: ./frontend
@@ -129,7 +138,7 @@ jobs:
-e APP_ENV=test \
-e DB_PROVIDER=postgres \
-e POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@pocket-id-db:5432/pocket-id \
stonith404/pocket-id:test
pocket-id/pocket-id:test
- name: Run Playwright tests
working-directory: ./frontend
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -38,11 +38,6 @@ data
pocket-id-backend
/backend/GeoLite2-City.mmdb

# Generated files
docs/build
docs/.docusaurus
docs/.cache-loader

# Misc
.DS_Store
.env.local
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.27.1
0.34.0
88 changes: 88 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,91 @@
## [](https://github.com/pocket-id/pocket-id/compare/v0.33.0...v) (2025-02-16)


### Features

* add LDAP group membership attribute ([#236](https://github.com/pocket-id/pocket-id/issues/236)) ([39b46e9](https://github.com/pocket-id/pocket-id/commit/39b46e99a9b930ea39cf640c3080530cfff5be6e))

## [](https://github.com/pocket-id/pocket-id/compare/v0.32.0...v) (2025-02-14)


### Features

* add end session endpoint ([#232](https://github.com/pocket-id/pocket-id/issues/232)) ([7550333](https://github.com/pocket-id/pocket-id/commit/7550333fe2ff6424f3168f63c5179d76767532fd))


### Bug Fixes

* alignment of OIDC client details ([c3980d3](https://github.com/pocket-id/pocket-id/commit/c3980d3d28a7158a4dc9369af41f185b891e485e))
* layout of OIDC client details page on mobile ([3de1301](https://github.com/pocket-id/pocket-id/commit/3de1301fa84b3ab4fff4242d827c7794d44910f2))
* show "Sync Now" and "Test Email" button even if UI config is disabled ([4d0fff8](https://github.com/pocket-id/pocket-id/commit/4d0fff821e2245050ce631b4465969510466dfae))

## [](https://github.com/pocket-id/pocket-id/compare/v0.31.0...v) (2025-02-13)


### Features

* add ability to set custom Geolite DB URL ([2071d00](https://github.com/pocket-id/pocket-id/commit/2071d002fc5c3b5ff7a3fca6a5c99f5517196853))

## [](https://github.com/pocket-id/pocket-id/compare/v0.30.0...v) (2025-02-12)


### Features

* add ability to override the UI configuration with environment variables ([4e85842](https://github.com/pocket-id/pocket-id/commit/4e858420e9d9713e19f3b35c45c882403717f72f))
* add warning for only having one passkey configured ([#220](https://github.com/pocket-id/pocket-id/issues/220)) ([39e403d](https://github.com/pocket-id/pocket-id/commit/39e403d00f3870f9e960427653a1d9697da27a6f))
* display source in user and group table ([#225](https://github.com/pocket-id/pocket-id/issues/225)) ([9ed2adb](https://github.com/pocket-id/pocket-id/commit/9ed2adb0f8da13725fd9a4ef6a7798c377d13513))


### Bug Fixes

* user linking in ldap group sync ([#222](https://github.com/pocket-id/pocket-id/issues/222)) ([2d78349](https://github.com/pocket-id/pocket-id/commit/2d78349b381d7ca10f47d3c03cef685a576b1b49))

## [](https://github.com/pocket-id/pocket-id/compare/v0.29.0...v) (2025-02-08)


### Features

* add custom ldap search filters ([#216](https://github.com/pocket-id/pocket-id/issues/216)) ([626f87d](https://github.com/pocket-id/pocket-id/commit/626f87d59211f4129098b91dc1d020edb4aca692))
* update host configuration to allow external access ([#218](https://github.com/pocket-id/pocket-id/issues/218)) ([bea1158](https://github.com/pocket-id/pocket-id/commit/bea115866fd8e4b15d3281c422d2fb72312758b1))

## [](https://github.com/pocket-id/pocket-id/compare/v0.28.1...v) (2025-02-05)


### Features

* add JSON support in custom claims ([15cde6a](https://github.com/pocket-id/pocket-id/commit/15cde6ac66bc857ac28df545a37c1f4341977595))
* add option to disable Caddy in the Docker container ([e864d5d](https://github.com/pocket-id/pocket-id/commit/e864d5dcbff1ef28dc6bf120e4503093a308c5c8))

## [](https://github.com/stonith404/pocket-id/compare/v0.28.0...v) (2025-02-04)


### Bug Fixes

* don't return error page if version info fetching failed ([d06257e](https://github.com/stonith404/pocket-id/commit/d06257ec9b5e46e25e40c174b4bef02dca0a1ea3))

## [](https://github.com/stonith404/pocket-id/compare/v0.27.2...v) (2025-02-03)


### Features

* allow LDAP users and groups to be deleted if LDAP gets disabled ([9ab1787](https://github.com/stonith404/pocket-id/commit/9ab178712aa3cc71546a89226e67b7ba91245251))
* map allowed groups to OIDC clients ([#202](https://github.com/stonith404/pocket-id/issues/202)) ([13b02a0](https://github.com/stonith404/pocket-id/commit/13b02a072f20ce10e12fd8b897cbf42a908f3291))


### Bug Fixes

* **caddy:** trusted_proxies for IPv6 enabled hosts ([#189](https://github.com/stonith404/pocket-id/issues/189)) ([37a835b](https://github.com/stonith404/pocket-id/commit/37a835b44e308622f6862de494738dd2bfb58ef0))
* missing user service dependency ([61e71ad](https://github.com/stonith404/pocket-id/commit/61e71ad43b8f0f498133d3eb2381382e7bc642b9))
* non LDAP user group can't be updated after update ([ecd74b7](https://github.com/stonith404/pocket-id/commit/ecd74b794f1ffb7da05bce0046fb8d096b039409))
* use cursor pointer on clickable elements ([7798580](https://github.com/stonith404/pocket-id/commit/77985800ae9628104e03e7f2e803b7ed9eaaf4e0))

## [](https://github.com/stonith404/pocket-id/compare/v0.27.1...v) (2025-01-27)


### Bug Fixes

* smtp hello for tls connections ([#180](https://github.com/stonith404/pocket-id/issues/180)) ([781ff7a](https://github.com/stonith404/pocket-id/commit/781ff7ae7b84b13892e7a565b7a78f20c52ee2c9))

## [](https://github.com/stonith404/pocket-id/compare/v0.27.0...v) (2025-01-24)


2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -69,5 +69,5 @@ We are using [Playwright](https://playwright.dev) for end-to-end testing.

The tests can be run like this:
1. Start the backend normally
2. Start the frontend in production mode with `npm run build && node build/index.js`
2. Start the frontend in production mode with `npm run build && node --env-file=.env build/index.js`
3. Run the tests with `npm run test`
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build Frontend
FROM node:20-alpine AS frontend-builder
FROM node:22-alpine AS frontend-builder
WORKDIR /app/frontend
COPY ./frontend/package*.json ./
RUN npm ci
@@ -20,7 +20,7 @@ WORKDIR /app/backend/cmd
RUN CGO_ENABLED=1 GOOS=linux go build -o /app/backend/pocket-id-backend .

# Stage 3: Production Image
FROM node:20-alpine
FROM node:22-alpine
# Delete default node user
RUN deluser --remove-home node

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

Pocket ID is a simple OIDC provider that allows users to authenticate with their passkeys to your services.

→ Try out the [Demo](https://pocket-id.eliasschneider.com)
→ Try out the [Demo](https://demo.pocket-id.org)

<img src="https://github.com/user-attachments/assets/96ac549d-b897-404a-8811-f42b16ea58e2" width="1200"/>

@@ -14,7 +14,7 @@ Additionally, what makes Pocket ID special is that it only supports [passkey](ht

Pocket ID can be set up in multiple ways. The easiest and recommended way is to use Docker.

Visit the [documentation](https://stonith404.github.io/pocket-id) for the setup guide and more information.
Visit the [documentation](https://docs.pocket-id.org) for the setup guide and more information.

## Contribute

2 changes: 1 addition & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
@@ -7,4 +7,4 @@ SQLITE_DB_PATH=data/pocket-id.db
POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@localhost:5432/pocket-id
UPLOAD_PATH=data/uploads
PORT=8080
HOST=localhost
HOST=0.0.0.0
2 changes: 1 addition & 1 deletion backend/cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/stonith404/pocket-id/backend/internal/bootstrap"
"github.com/pocket-id/pocket-id/backend/internal/bootstrap"
)

func main() {
59 changes: 29 additions & 30 deletions backend/go.mod
Original file line number Diff line number Diff line change
@@ -1,58 +1,57 @@
module github.com/stonith404/pocket-id/backend
module github.com/pocket-id/pocket-id/backend

go 1.23.1

require (
github.com/caarlos0/env/v11 v11.2.2
github.com/caarlos0/env/v11 v11.3.1
github.com/fxamacker/cbor/v2 v2.7.0
github.com/gin-gonic/gin v1.10.0
github.com/go-co-op/gocron/v2 v2.12.1
github.com/go-playground/validator/v10 v10.22.1
github.com/go-co-op/gocron/v2 v2.15.0
github.com/go-ldap/ldap/v3 v3.4.10
github.com/go-playground/validator/v10 v10.24.0
github.com/go-webauthn/webauthn v0.11.2
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/golang-migrate/migrate/v4 v4.18.1
github.com/golang-migrate/migrate/v4 v4.18.2
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/mileusna/useragent v1.3.5
github.com/oschwald/maxminddb-golang/v2 v2.0.0-beta.1
golang.org/x/crypto v0.31.0
golang.org/x/time v0.6.0
github.com/oschwald/maxminddb-golang/v2 v2.0.0-beta.2
golang.org/x/crypto v0.32.0
golang.org/x/time v0.9.0
gorm.io/driver/postgres v1.5.11
gorm.io/driver/sqlite v1.5.6
gorm.io/driver/sqlite v1.5.7
gorm.io/gorm v1.25.12
)

require (
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
github.com/bytedance/sonic v1.12.3 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/bytedance/sonic v1.12.8 // indirect
github.com/bytedance/sonic/loader v0.2.3 // indirect
github.com/cloudwego/base64x v0.1.5 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/gin-contrib/sse v1.0.0 // indirect
github.com/go-asn1-ber/asn1-ber v1.5.7 // indirect
github.com/go-ldap/ldap/v3 v3.4.10 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-webauthn/x v0.1.14 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/google/go-tpm v0.9.1 // indirect
github.com/go-webauthn/x v0.1.16 // indirect
github.com/goccy/go-json v0.10.4 // indirect
github.com/google/go-tpm v0.9.3 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.5.5 // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.7.2 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/jonboulle/clockwork v0.5.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-sqlite3 v1.14.23 // indirect
github.com/mattn/go-sqlite3 v1.14.24 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
@@ -62,12 +61,12 @@ require (
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/arch v0.10.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/arch v0.13.0 // indirect
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
google.golang.org/protobuf v1.36.4 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading