onTransactionComplete called my code twice

the original JWT is only generated within onAuthorized right? or is there a function to recive it?