This sample demonstrates how to use the OAuth2 Client Credentials Flow in JavaScript to obtain an Access Token and how to use the Access Token when calling the CodeProject API.