React: CORS error when invoking auth.logout

@tom can you please help me with same kind of issue at here: