mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 05:13:01 +03:00
[PR #640] [MERGED] feat: allow introspection and device code endpoints to use Federated Client Credentials #709
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/640
Author: @ItalyPaleAle
Created: 6/9/2025
Status: ✅ Merged
Merged: 6/9/2025
Merged by: @stonith404
Base:
main← Head:fix-introspection-auth📝 Commits (10+)
d9137a6WIPef742f0WIP: Convert refresh tokens to signed ones84d0097Updated introspection endpoint too80de3b8Introspect token supports federated credentialsfe0cb4aFix2164ba0Lint58efcbcMerge branch 'main' of https://github.com/pocket-id/pocket-id into fix-introspection-auth8d9f91bAllow client assertions for the device code endpoint too7b0829aAddress review feedback3a9997dMerge branch 'main' of https://github.com/pocket-id/pocket-id into fix-introspection-auth📊 Changes
13 files changed (+788 additions, -125 deletions)
View changed files
📝
backend/internal/controller/e2etest_controller.go(+22 -0)📝
backend/internal/controller/oidc_controller.go(+15 -3)📝
backend/internal/dto/oidc_dto.go(+5 -3)📝
backend/internal/service/e2etest_service.go(+4 -0)📝
backend/internal/service/jwt_service.go(+106 -7)📝
backend/internal/service/jwt_service_test.go(+195 -12)📝
backend/internal/service/oidc_service.go(+145 -72)📝
backend/internal/service/oidc_service_test.go(+8 -8)➕
backend/internal/utils/http_util.go(+18 -0)➕
backend/internal/utils/http_util_test.go(+65 -0)📝
backend/internal/utils/jwt_util.go(+3 -2)📝
tests/data.ts(+2 -0)📝
tests/specs/oidc.spec.ts(+200 -18)📄 Description
Follow-up from #566 to complete the work started there
Authorization: Bearer <jwt>for authorization.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.