Newbie Q on Widget - setTokens

Hi there - a newbie question. Just trying to run the widget in a SPA and getting the following error:

TypeError: oktaSignIn.authClient.setTokens is not a function

Any help/pointers much appreciated

that looks like an invalid call for that function as it should be authClient.tokenManager.setTokens()