auth example in docs