mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
[PR #832] [MERGED] feat: display all accessible oidc clients in the dashboard #603
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/832
Author: @stonith404
Created: 8/14/2025
Status: ✅ Merged
Merged: 8/17/2025
Merged by: @stonith404
Base:
main← Head:feat/display-all-accessible-apps📝 Commits (10+)
6ed2702feat: display all accessible oidc clients in the dashboard293b766fix: race condition of date fns localea6e1841fix: update swagger notation for api docsd0d548ffix e2e tests to check for full client counta204368add rel='noopener noreferrer' to button7dbccfcadd safer hostname extracting if the client was created via the api8605ce8use transaction for multiple read queriesf163554remove safehostnamed1a5e0aimprove sort direction handlingd8fb954add test for not accessible client📊 Changes
28 files changed (+306 additions, -110 deletions)
View changed files
📝
backend/internal/controller/oidc_controller.go(+39 -6)📝
backend/internal/dto/oidc_dto.go(+5 -0)📝
backend/internal/model/oidc.go(+4 -3)📝
backend/internal/service/oidc_service.go(+76 -2)📝
backend/internal/service/user_group_service.go(+1 -2)📝
backend/internal/utils/paging_util.go(+15 -3)📝
frontend/messages/en.json(+2 -1)📝
frontend/package.json(+1 -0)📝
frontend/src/lib/services/oidc-service.ts(+3 -9)📝
frontend/src/lib/stores/user-store.ts(+2 -2)📝
frontend/src/lib/types/oidc.type.ts(+2 -3)📝
frontend/src/lib/utils/locale.util.ts(+21 -5)📝
frontend/src/routes/+layout.svelte(+0 -10)📝
frontend/src/routes/+layout.ts(+10 -0)📝
frontend/src/routes/authorize/+page.svelte(+1 -1)📝
frontend/src/routes/device/+page.svelte(+1 -1)📝
frontend/src/routes/login/+page.svelte(+1 -1)📝
frontend/src/routes/login/alternative/code/+page.svelte(+1 -1)📝
frontend/src/routes/settings/account/locale-picker.svelte(+1 -1)📝
frontend/src/routes/settings/apps/+page.svelte(+17 -14)...and 8 more files
📄 Description
The "My Apps" dashboard now shows all OIDC clients that the user can access, instead of only displaying the ones they have already signed into.
Additionally, the responsiveness of the cards has been improved, and the cards now display when the user last signed into the corresponding clients.
Issues Fixed by this PR
Fixes #828
Fixes #823
Fixes #828
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.