Add on_auth and on_transition cb. Fix workflow.