Generate auth info automatically