···562562 params.Set("client_id", app.Config.ClientID)
563563 params.Set("request_uri", info.RequestURI)
564564565565- // NOTE: AuthorizationEndpoint was already checked to be a clean URL
565565+ // AuthorizationEndpoint was already checked to be a clean URL
566566+ // TODO: could do additional SSRF checks on the redirect domain here
566567 redirectURL := fmt.Sprintf("%s?%s", authserverMeta.AuthorizationEndpoint, params.Encode())
567568 return redirectURL, nil
568569}