Authenticate using password grant type
Password grant type usageAuthentication via the
passwordgrant type relies on your Dailymotion credentials. - If you update your credentials, please ensure you also update your API authentication workflow accordingly.
To authenticate against the Platform API using the password grant type flow, pass in the Dailymotion login credentials (username and password) along with the API key and secret generated in step 1.
Make a POST request to https://api.dailymotion.com/oauth/token endpoint and include the following parameters:
grant_type: setto passwordto specify the grant type flow.client_id: the API key from step 1.client_secret: the API secret from step 1.username: the username of the Dailymotion channel you want to access.password: the password of the Dailymotion channel you want to access.scope: needs to be defined for specific permissions or access rights (read more about scopes)
Updated 24 days ago
