@@ -895,7 +895,7 @@ func bitbucketServerDefaults(config *codersdk.ExternalAuthConfig) codersdk.Exter
895895 DisplayName : "Bitbucket Server" ,
896896 Scopes : []string {"PUBLIC_REPOS" , "REPO_READ" , "REPO_WRITE" },
897897 DisplayIcon : "/icon/bitbucket.svg" ,
898- // TODO: PKCE support? Test 'S256' as the string value
898+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
899899 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
900900 }
901901 // Bitbucket servers will have some base url, e.g. https://bitbucket.coder.com.
@@ -975,7 +975,7 @@ func jfrogArtifactoryDefaults(config *codersdk.ExternalAuthConfig) codersdk.Exte
975975 DisplayName : "JFrog Artifactory" ,
976976 Scopes : []string {"applied-permissions/user" },
977977 DisplayIcon : "/icon/jfrog.svg" ,
978- // TODO: PKCE support? Test 'S256' as the string value
978+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
979979 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
980980 }
981981 // Artifactory servers will have some base url, e.g. https://jfrog.coder.com.
@@ -1047,7 +1047,7 @@ func azureDevopsEntraDefaults(config *codersdk.ExternalAuthConfig) codersdk.Exte
10471047 DisplayName : "Azure DevOps (Entra)" ,
10481048 DisplayIcon : "/icon/azure-devops.svg" ,
10491049 Regex : `^(https?://)?dev\.azure\.com(/.*)?$` ,
1050- // TODO: PKCE support? Test 'S256' as the string value
1050+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
10511051 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
10521052 }
10531053 // The tenant ID is required for urls and is in the auth url.
@@ -1087,7 +1087,7 @@ var staticDefaults = map[codersdk.EnhancedExternalAuthProvider]codersdk.External
10871087 DisplayIcon : "/icon/azure-devops.svg" ,
10881088 Regex : `^(https?://)?dev\.azure\.com(/.*)?$` ,
10891089 Scopes : []string {"vso.code_write" },
1090- // TODO: PKCE support? Test 'S256' as the string value
1090+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
10911091 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
10921092 },
10931093 codersdk .EnhancedExternalAuthProviderBitBucketCloud : {
@@ -1098,7 +1098,7 @@ var staticDefaults = map[codersdk.EnhancedExternalAuthProvider]codersdk.External
10981098 DisplayIcon : "/icon/bitbucket.svg" ,
10991099 Regex : `^(https?://)?bitbucket\.org(/.*)?$` ,
11001100 Scopes : []string {"account" , "repository:write" },
1101- // TODO: PKCE support? Test 'S256' as the string value
1101+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
11021102 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
11031103 },
11041104 codersdk .EnhancedExternalAuthProviderSlack : {
@@ -1109,7 +1109,7 @@ var staticDefaults = map[codersdk.EnhancedExternalAuthProvider]codersdk.External
11091109 DisplayIcon : "/icon/slack.svg" ,
11101110 // See: https://api.slack.com/authentication/oauth-v2#exchanging
11111111 ExtraTokenKeys : []string {"authed_user" },
1112- // TODO: PKCE support? Test 'S256' as the string value
1112+ // TODO: Investigate if 'S256' is accepted and PKCE is supported
11131113 CodeChallengeMethodsSupported : []string {string (promoauth .PKCEChallengeMethodNone )},
11141114 },
11151115}
0 commit comments