cli / cli/oauth

How should OAuth Client IDs be distributed to headless apps?

Open
#1 7 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Go
Stars
533
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Hi, I apologize if I've just missed something in the documentation but, should our OAuth App Client IDs be kept secret? In the case of writing a headless app how should we distribute the Client IDs to the user's applications so that they can authenticate with GitHub? Is it best to write a server side relay that requests the tokens on the behalf of the CLI tool and then passes the resulting temporary code and token back to the user, so that the user never has access to the Client ID, or is it safe to embed the client ID in a distributed binary/source code? Thanks for your time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.