We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1c8807b commit1c4a2b0Copy full SHA for 1c4a2b0
enterprise/coderd/identityprovider/authorize.go
@@ -50,12 +50,10 @@ func extractAuthorizeParams(r *http.Request, callbackURL *url.URL) (authorizePar
50
returnparams,nil,nil
51
}
52
53
-/**
54
- * Authorize displays an HTML page for authorizing an application when the user
55
- * has first been redirected to this path and generates a code and redirects to
56
- * the app's callback URL after the user clicks "allow" on that page, which is
57
- * detected via the origin and referer headers.
58
- */
+// Authorize displays an HTML page for authorizing an application when the user
+// has first been redirected to this path and generates a code and redirects to
+// the app's callback URL after the user clicks "allow" on that page, which is
+// detected via the origin and referer headers.
59
funcAuthorize(db database.Store,accessURL*url.URL) http.HandlerFunc {
60
handler:=func(rw http.ResponseWriter,r*http.Request) {
61
ctx:=r.Context()