Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Acquiring tokens with authorization codes

Navya Canumalla edited this page May 18, 2018 · 6 revisions

The Authorization Code flow is suitable when the application requires the user's interaction with the Azure AD STS during authentication. One such case is when users login to Web applications (web sites) using Open Id connect. The web application receives an authorization code which it can redeem to acquire a token for Web APIs.

Requests for the authorization codes are delegated to the developer. To understand how to request an authorization code, see Authorization code flow.

Upon receiving an authorization code, the acquire_token_with_authorization_code method can be called to request a token. To see how to integrate the Authentication code flow into a web application, see this Python web application sample

Currently, ADAL Python does not support the authorization code flow for public clients.

Clone this wiki locally