Typescript definition updated and wrong?

Can you clarify the specific error that is thrown? It seems like the PR you referenced failed to include the connection parameter in the AuthorizeOptions. I suggest raising an issue in that repo, or submitting a PR for the required change.