Azure
For repositories stored on Azure, the azure
backend allows CMS users to log in directly with their Azure account. Note that all users must have write access to your content repository for this to work.
In order to get Decap CMS working with Azure DevOps, you need a Tenant Id and an Application Id.
- If you do not have an Azure account, create one here and make sure to have a credit card linked to the account.
- If you do not have an Azure Active Directory Tenant Id, set one up here.
- Register an application with Azure AD. Configure it as a Single tenant Web application and add a redirect URI (e.g.
http://localhost:8080/
) - Add the
Azure DevOps->user_impersonation
permission for the created application. - Grant admin consent for the application.
- Under
Authentication->Implicit grant
enable Access tokens for the application and clickSave
. - Verify your Azure DevOps organization is connected to the same directory as your tenant under:
https://dev.azure.com/<organization>/_settings/organizationAad
- Add the following lines to your Decap CMS
config.yml
file:
backend:
name: azure
repo: organization/project/repo # replace with actual path
tenant_id: tenantId # replace with your tenantId
app_id: appId # replace with your appId
Limitations
-
Pagination is not supported so some endpoints might return missing data
-
Nested collection are partially supported as Azure doesn't allow renaming and editing in a single operation