Error in auth config fixed