@@ -396,27 +396,28 @@ func TestExternalAuthYAMLConfig(t *testing.T) {
396396 return string (data )
397397 }
398398 githubCfg := codersdk.ExternalAuthConfig {
399- Type : "github" ,
400- ClientID : "client_id" ,
401- ClientSecret : "client_secret" ,
402- ID : "id" ,
403- AuthURL : "https://example.com/auth" ,
404- TokenURL : "https://example.com/token" ,
405- ValidateURL : "https://example.com/validate" ,
406- RevokeURL : "https://example.com/revoke" ,
407- AppInstallURL : "https://example.com/install" ,
408- AppInstallationsURL : "https://example.com/installations" ,
409- NoRefresh : true ,
410- Scopes : []string {"user:email" , "read:org" },
411- ExtraTokenKeys : []string {"extra" , "token" },
412- DeviceFlow : true ,
413- DeviceCodeURL : "https://example.com/device" ,
414- Regex : "^https://example.com/.*$" ,
415- DisplayName : "GitHub" ,
416- DisplayIcon : "/static/icons/github.svg" ,
417- MCPURL : "https://api.githubcopilot.com/mcp/" ,
418- MCPToolAllowRegex : ".*" ,
419- MCPToolDenyRegex : "create_gist" ,
399+ Type : "github" ,
400+ ClientID : "client_id" ,
401+ ClientSecret : "client_secret" ,
402+ ID : "id" ,
403+ AuthURL : "https://example.com/auth" ,
404+ TokenURL : "https://example.com/token" ,
405+ ValidateURL : "https://example.com/validate" ,
406+ RevokeURL : "https://example.com/revoke" ,
407+ AppInstallURL : "https://example.com/install" ,
408+ AppInstallationsURL : "https://example.com/installations" ,
409+ NoRefresh : true ,
410+ Scopes : []string {"user:email" , "read:org" },
411+ ExtraTokenKeys : []string {"extra" , "token" },
412+ DeviceFlow : true ,
413+ DeviceCodeURL : "https://example.com/device" ,
414+ Regex : "^https://example.com/.*$" ,
415+ DisplayName : "GitHub" ,
416+ DisplayIcon : "/static/icons/github.svg" ,
417+ MCPURL : "https://api.githubcopilot.com/mcp/" ,
418+ MCPToolAllowRegex : ".*" ,
419+ MCPToolDenyRegex : "create_gist" ,
420+ CodeChallengeMethodsSupported : []string {"S256" },
420421 }
421422
422423 // Input the github section twice for testing a slice of configs.
0 commit comments