Fixing first example to use type "client" instead of "code"