set id, rename options to config, add authOptions and callbackOptions