Canvas App Widgets
Data displayed by the Canvas App will be displayed in the context of the current user (using the current users permissions)
Data displayed by the Canvas App will be displayed in the context of the current user (using the current users permissions)
Copyright 2023 Alemba, ASM EOS 10.4
Create a new Client under Login Settings
Enable the client
Create a Secret this will be used for the connection from Power Apps
Add a Redirect URI copied from the Power Apps Custom Connector after it is saved
Enable Azure Authentication You need to create an App Registration in your Azure tenancy A client secret is created in Azure and copied to ASM The Redirect URI is created in ASM after the new client is saved and is copied to the App Registration
Ensure your ASM user has your Azure AD user id listed under External ID’s
Your ASM instance includes an Open API 3.0 definition but, at the time of writing, the Custom Connectors only support Open API 2.0. Therefore you should create a Custom Connector from blank
Data > Custom Connectors > Create from blank
Field
Value
Host
company-name.alembacloud.com
Base URL
/production
Field
Value
Client Id
Create a new Client in ASM and copy the Client Id from there
Client Secret
Create a secret (like a password) for the client in ASM and copy that secret to this field
Authorization URL
https://company-name.alembacloud.com/production/alemba.identity.server/connect/authorize
Token URL
https://company-name.alembacloud.com/production/alemba.identity.server/connect/token
Refresh URL
https://company-name.alembacloud.com/production/alemba.identity.server/connect/token
Scope
offline_access openid profile email session-type:Analyst
Redirect URL
Copy this value and add it to the allowed redirect URL’s in the ASM client
Click New Connection and then Create
Login when prompted
You will now be able to use the Custom Connector in your Canvas App
Share the app with others
Copy the Web Link from the Details page for your app
Copy the web link from your canvas app to the Canvas App URL in the designer
Set a maximum height and width for the canvas app widget
Create a Gallery using your Custom Connector
Add a widget from the screen designer