Added validation for the lib configuration PR // Fixes #725 fixed some doc typos fixed bug 2 auth events emitter on STS callback Fixes PR // #734