progress / JSDO

Client side TypeScript library to access Progress® Data Object Services
Other
23 stars 27 forks source link

Sso open request and authorize bug #276

Closed seankupiec closed 4 years ago

seankupiec commented 4 years ago

PR Checklist

Using AUTH_TYPE_SSO authentication model I found that upon expiration of the access token It would get caught in a loop inside the _openRequestAndAuthorize function. I found this issue to be the result of a variable name "callback" declared on 308 which is already in use by the _openRequestAndAuthorize function. I renamed the variable "callback" at 308 to "callbackRefresh" and updated 314 as well in order to reference the correct variable. After finding and fixing this issue I then found that this also relates to issue #265 . This has been tested and functioning in our project.