Skip to content

Commit

Permalink
comment about OAuth native apps
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed May 29, 2023
1 parent 1bb4779 commit 5f50d12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Expand Up @@ -37,6 +37,10 @@ import (
"golang.org/x/oauth2/endpoints"
)

// configByHost lists default config for several public hosts.
// NB. The client "secrets" below are non-confidential. This is expected for OAuth native apps (unlike web apps).
// "It is assumed that any client authentication credentials included in the application can be extracted"
// https://datatracker.ietf.org/doc/html/rfc6749#section-2.1
var configByHost = map[string]oauth2.Config{
// https://github.com/settings/applications/2017944
"github.com": {
Expand Down

0 comments on commit 5f50d12

Please sign in to comment.