<commit_before>package service

import (
	neturl "net/url"
)

// Request is a request object for ...
type GetAuthorizationResponse struct {
	URL string `json:"url"`
}

const (
	scope = "repo,read:org,user"
	endpoint = "https://github.com/login/oauth/authorize"
)

func (s *service) GetAuthorization() *GetAuthorizationResponse  {
	response := GetAuthorizationResponse{}

	url, _ := neturl.Parse(endpoint)

	query := neturl.Values{}
	query.Add("scope", scope)
	query.Add("client_id", s.Config.GithubClientID)

	url.RawQuery = query.Encode()

	response.URL = url.String()

	return &response
}
<commit_msg>Add access_type query<commit_after>package service

import (
	neturl "net/url"
)

// Request is a request object for ...
type GetAuthorizationResponse struct {
	URL string `json:"url"`
}

const (
	scope = "repo,read:org,user"
	endpoint = "https://github.com/login/oauth/authorize"
)

func (s *service) GetAuthorization() *GetAuthorizationResponse  {
	response := GetAuthorizationResponse{}

	url, _ := neturl.Parse(endpoint)

	query := neturl.Values{}
	query.Add("access_type", "online")
	query.Add("scope", scope)
	query.Add("client_id", s.Config.GithubClientID)

	url.RawQuery = query.Encode()

	response.URL = url.String()

	return &response
}

{'fraction_non_alphanumeric': 0.144, 'fraction_numerical': 0.0, 'mean_word_length': 4.764976958525345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7238064', 'n_tokens_mistral': 420, 'n_tokens_neox': 417, 'n_words': 90}