Skip to content

Commit 6e3940d

Browse files
committed
No URL for me
1 parent 89b281d commit 6e3940d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

enterprise/coderd/identityprovider/authorize.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ func extractAuthorizeParams(r *http.Request, callbackURL string) (authorizeParam
3434

3535
p.RequiredNotEmpty("state", "response_type", "client_id")
3636

37-
// TODO: Can we make this a URL straight out of the database?
3837
cb, err := url.Parse(callbackURL)
3938
if err != nil {
4039
return authorizeParams{}, nil, err

enterprise/coderd/identityprovider/tokens.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func extractTokenParams(r *http.Request, callbackURL string) (tokenParams, []cod
4040
return tokenParams{}, nil, xerrors.Errorf("parse form: %w", err)
4141
}
4242

43-
// TODO: Can we make this a URL straight out of the database?
4443
cb, err := url.Parse(callbackURL)
4544
if err != nil {
4645
return tokenParams{}, nil, err

0 commit comments

Comments
 (0)