dexidp / dex

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
https://dexidp.io
Apache License 2.0
9.23k stars 1.67k forks source link

Provide support for github apps #3427

Open blixem777 opened 3 months ago

blixem777 commented 3 months ago

Preflight Checklist

Problem Description

From the docs, it seems there is support for github oauth2 apps, but not for github apps.

Since github is recommending using github aps instead, it would be great if there was support for that in dex.

Proposed Solution

Something like the below:

connectors:
- type: github
  id: github
  name: GitHub
  config:
    appID: YOUR_APP_ID_FROM_GITHUB
    appPrivateKeyPath: /path/to/your/private-key.pem
    ...

Alternatives Considered

No response

Additional Information

No response

nabokihms commented 3 months ago

@blixem777 Is this more secure than using oauth2 flow for authentication? What is appPrivateKeyPath?