Not accessing token , I have used axios in react-native

 let formData = new FormData();
    formData.append("grant_type", "client_credentials");
    formData.append("scope", "client_credentials");

    console.log(JSON.stringify(formData));
    fetch(
      "https://xyz.com/oauth2/aauYB6M0h7/v1/token",
      {
        method: "POST",
        headers: {
          "content-type": "application/x-www-form-urlencoded",
          Accept: "application/json",
          Authorization:
            "Basic x-x-x-x-x-x-x-x-x-x-x-x-",
        },
        body: JSON.stringify(formData),
      }
    )
      .then((response) => response.json())
      .then((response) => {
        console.log(JSON.stringify(response));
        Alert.alert(JSON.stringify(response));
      })
      .catch((err) => {
        console.log(err);
      });