simplesamlphp / simplesamlphp/simplesamlphp-module-oidc

Feature request: allow to specify the client_id

Open
#358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
50
Forks
28
Avg merge
1m
Merged PRs (30d)
2

Description

When registering a new client, the client_id is auto-generated and not very human-read/write friendly.

There are use cases where users are expected to provide the client_id themselves in UI. Example: Thunderbird Beta provides a "Custom OAuth Configuration" dialog, see below.

Image

I already commented to Mozilla regarding the use of one .well-known URL instead of 3 to 4 free-text fields ( https://bugzilla.mozilla.org/show_bug.cgi?id=1602166#c58 ) but what remains is the client_id as an extra hurdle.

For a public client, being able to choose a user-friendly string such as "MozillaThunderbird" would reduce error-proneness of OAuth2 configuration there.

The suggestion is thus to enrich the Client Registration UI in the SSP admin portal such that a client_id is auto-generated, but make it a suggestion end changeable in UI.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Client Registration UI in the SSP admin portal and trace how the client_id is generated and submitted. Check the existing registration flow and its tests, if present. Done means a generated client_id is shown as an editable suggestion and a user-provided value is accepted for a new public client.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.