mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Fixed teknik auth not requesting refresh token.
This commit is contained in:
parent
f0e7ecba66
commit
d5f8810fbb
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ public string GetAuthorizationURL()
|
||||||
Dictionary<string, string> args = new Dictionary<string, string>();
|
Dictionary<string, string> args = new Dictionary<string, string>();
|
||||||
args.Add("response_type", "code");
|
args.Add("response_type", "code");
|
||||||
args.Add("redirect_uri", Links.URL_CALLBACK);
|
args.Add("redirect_uri", Links.URL_CALLBACK);
|
||||||
args.Add("scope", "openid teknik-api.write");
|
args.Add("scope", "openid teknik-api.write offline_access");
|
||||||
args.Add("client_id", AuthInfo.Client_ID);
|
args.Add("client_id", AuthInfo.Client_ID);
|
||||||
|
|
||||||
return URLHelpers.CreateQueryString(AuthUrl + "/connect/authorize", args);
|
return URLHelpers.CreateQueryString(AuthUrl + "/connect/authorize", args);
|
||||||
|
|
Loading…
Reference in a new issue