Currently the plugin works via a while loop that performs a call to the api, should be updated to use a callback LaunchKey Docs: https://launchkey.com/docs/api/authentication-flow/#callbacks