Fixed teknik auth not requesting refresh token.

This commit is contained in:
Uncled1023 2020-09-05 23:53:56 -07:00
parent f0e7ecba66
commit d5f8810fbb

View file

@ -166,7 +166,7 @@ public string GetAuthorizationURL()
Dictionary<string, string> args = new Dictionary<string, string>();
args.Add("response_type", "code");
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);
return URLHelpers.CreateQueryString(AuthUrl + "/connect/authorize", args);