This is the error message I got while granting permissions to the app by going to url mentioned in terminal message after running the onedrive-authorize script.
Something went wrong, here is the API response:
{
"error":"invalid_request",
"error_description":"Public clients can't send a client secret."
}
FIX:
Removing the client_secret=${api_client_secret} from url fixes it.
This is the error message I got while granting permissions to the app by going to url mentioned in terminal message after running the
onedrive-authorize
script.FIX: Removing the
client_secret=${api_client_secret}
from url fixes it.