Merge pull request #5021 from uncled1023/master

Fixed teknik auth not requesting refresh token
This commit is contained in:
Jaex 2020-09-06 10:05:42 +03:00 committed by GitHub
commit 720cc4c362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);