Skip to content

Commit cbce34a

Browse files
committed
Delete some oidc helper comments
1 parent ba95d1b commit cbce34a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

coderd/coderdtest/oidctest/helper.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ func (h *LoginHelper) ForceRefresh(t *testing.T, db database.Store, user *coders
125125
//
126126
// TODO: Is state param optional? Can we grab it from the authURL?
127127
func OAuth2GetCode(authURL string, state string, doRequest func(req *http.Request) (*http.Response, error)) (string, error) {
128-
// We need to store some claims, because this is also an OIDC provider, and
129-
// it expects some claims to be present.
130-
// TODO: POST or GET method?
131128
r, err := http.NewRequestWithContext(context.Background(), http.MethodGet, authURL, nil)
132129
if err != nil {
133130
return "", xerrors.Errorf("failed to create auth request: %w", err)

0 commit comments

Comments
 (0)