mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🚀 Feature: Allow to set the client_secret per API #238
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?
Originally created by @wrenix on GitHub.
Feature description
For automation purpose it would be nice, if we could force / generate the client_secret (and client_id) for an application.
Pitch
an optinal parameter on the API request (if not set pocket-id will genate it)
@Fred-06 commented on GitHub:
Hi,
For an example, oCIS requires a specific client_id (Android, iOS, Desktop).
https://doc.owncloud.com/server/next/admin_manual/configuration/user/oidc/oidc.html#owncloud-desktop-and-mobile-clients
It would therefore be nice if this parameter could be set manually.
Thank's !
@kmendell commented on GitHub:
Pocket ID doesnt allow setting custom client ID's or secrets, But the api should be able to create OIDC clients already and should return the client id and secret to you?
Are you not seeing that behavior?
@wrenix commented on GitHub:
I see it, but that make it just more complicated for automation.
@stonith404 commented on GitHub:
@wrenix Can you explain your use case for needing a static client secret? How would it make this automation more difficult if the OIDC client creation endpoint provides the client secret?