mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 22:52:58 +03:00
[PR #830] [CLOSED] feat: add ability to set custom client ID #607
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/830
Author: @James18232
Created: 8/13/2025
Status: ❌ Closed
Base:
main← Head:feat-customcredentials📝 Commits (10+)
67b359cFeat: customcredentials (#9)c0bfc48fix: faililng checks9eb8463fix: failing checks8583c77fix: failing checks3570afcfix: faililng checksafd428bfix: failing checksc478d27remove secrets ui4688c07remove secrete185af3remove client secret frontend service7ae66d2remove redundant code📊 Changes
8 files changed (+234 additions, -10 deletions)
View changed files
📝
backend/internal/common/errors.go(+9 -0)📝
backend/internal/controller/oidc_controller.go(+60 -0)📝
backend/internal/dto/oidc_dto.go(+8 -0)📝
backend/internal/model/oidc.go(+5 -0)📝
backend/internal/service/oidc_service.go(+91 -0)📝
frontend/src/lib/services/oidc-service.ts(+7 -1)📝
frontend/src/routes/settings/admin/oidc-clients/[id]/+page.svelte(+7 -1)📝
frontend/src/routes/settings/admin/oidc-clients/oidc-client-form.svelte(+47 -8)📄 Description
this PR includes changes to support a custom client id/client secret to be used for a client.
This is required for services such as owncloud ocis, who use fixed client id/client secrets for some elements of their services.
I believe this is not strictly in accordance with the oidc specs, so this is proposed as an advanced option only, after a client is setup in the usual manner.
happy for input if things are not quite right - i have done preliminary testing and think it is ok.
fixes #508.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.