Skip to content

cmd/dex/serve.go: log static client name instead of ID#1427

Merged
ericchiang merged 1 commit into
dexidp:masterfrom
yann-soubeyrand:static-client-log-name
Apr 18, 2019
Merged

cmd/dex/serve.go: log static client name instead of ID#1427
ericchiang merged 1 commit into
dexidp:masterfrom
yann-soubeyrand:static-client-log-name

Conversation

@yann-soubeyrand
Copy link
Copy Markdown
Contributor

Hi,

According to https://www.oauth.com/oauth2-servers/client-registration/client-id-secret/, client ID should not be easily guessable and many people use random hex strings. It's therefore easier to identify clients in logs using their name instead of their ID.

Signed-off-by: Yann Soubeyrand <yann.soubeyrand@gmx.fr>
@yann-soubeyrand yann-soubeyrand force-pushed the static-client-log-name branch from 0fcb91a to c5f2871 Compare April 18, 2019 11:56
@yann-soubeyrand yann-soubeyrand changed the title cmd/dex/serve: log static client name instead of ID cmd/dex/serve.go: log static client name instead of ID Apr 18, 2019
@ericchiang ericchiang merged commit 60f47c4 into dexidp:master Apr 18, 2019
@yann-soubeyrand yann-soubeyrand deleted the static-client-log-name branch April 22, 2019 12:18
mmrath pushed a commit to mmrath/dex that referenced this pull request Sep 2, 2019
…-name

cmd/dex/serve.go: log static client name instead of ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants