Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onify/blueprint-microsoft-azure-api-authenticate

Onify Blueprint: Authenticate against Microsoft Azure (AD) API using OAuth 2.0
https://github.com/onify/blueprint-microsoft-azure-api-authenticate

azure bpmn flow microsoft oauth2 onify onify-blueprint onify-blueprints rest-api

Last synced: about 2 months ago
JSON representation

Onify Blueprint: Authenticate against Microsoft Azure (AD) API using OAuth 2.0

Awesome Lists containing this project

README

        

![Onify Blueprints](https://files.readme.io/8ba3f14-onify-blueprints-logo.png)

[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)

# Onify Blueprint: Authenticate against Microsoft Azure (AD) API using OAuth 2.0

![Onify Blueprint: Authenticate against Microsoft Azure (AD) API using OAuth 2.0](blueprint.jpg "Blueprint")

## Requirements

* Onify Hub
* Onify Flow license
* Camunda Modeler

## Included

* 1 x Flows

## Setup

### Microsoft Azure

You must register a new app in `App registrations` in Azure AD.

1. Register your app (platform must be set to native (Mobile and desktop applications)).
2. Set API permissions (eg. for Microsoft Graph or Dynamics 365).
3. Grant admin consent.

> For more information about setting up Microsoft Graph/Azure API credentials, see https://docs.microsoft.com/en-us/graph/auth-v2-service.

### Onify

Add the following setting(s) to Onify.

_Replace ``, `` and `` with correct values._

```json
{
"key": "_azure_credentials",
"name": "Microsoft Azure credentials",
"value": "{\"tenant\":\"\", \"client_id\":\"\", \"client_secret\":\"\"}",
"type": "object",
"tag": [
"azure",
"credentials",
"frontend"
],
"category": "custom",
"role": [
"admin"
]
}
```

## Deploy

1. Open `microsoft-azure-api-authenticate.bpmn` in Camunda Modeler.
2. Change `form.scope` in `Generate Azure access token` task (optional). See https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent for more info.
3. Click `Deploy current diagram` and follow the steps.

## Test

To test and run the flow, click `Start current diagram`.

## Support

* Community/forum: https://support.onify.co/discuss
* Documentation: https://support.onify.co/docs
* Support and SLA: https://support.onify.co/docs/get-support

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.