2 posts :: Page 1 of 1
By: Likes:
  (Read 26 times)  

My token reached it's 1 year expiration, so I went to re-authenticate. The window pops up when I do a force reauthentication like below it briefly says "IE no longer supported", then never finishes loading. Presumably Blackbaud has disabled compatibility with IE.

PHP Formatted Code
Connect-SKYAPI -ForceReauthentication

Is there an easy work around? Or do I need to set an environment variable that changes the browser PS uses to do the authentication handshake? Open to any potential solutions.

Thanks

   
Grim Hatchling
Registered: 05/11/22
Posts: 2
By: Likes:
   

I managed to get a work around, which should tide me over for another year until my token expires again.

Basically, I manually built the URL using lines 165-170 of SKYAPI.psm1 as a guide visited that url in a browser and got the authCode. Then manually called the rest of that function, lines 184-199, to replace the key.json file.

The issue appears to be with the Show-OAuthWindow function. Best I can tell, that function needs to use something other than Windows Forms to open a window for the authorization. Blackbaud doesn't appear to support IE 11 any longer.

   
Grim Hatchling
Registered: 05/11/22
Posts: 2
2 posts :: Page 1 of 1