Trying to create custom SFDC connector in Logic Apps - azure-logic-apps

I am trying to create a custom salesforce connector with Azure Logic Apps. Unfortunately when I am trying authorization with Oauth2 I get the error below:
error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration
Azure Logic apps security tab screenshot
Logic Apps Security tab
Salesforce connected App screenshot
sfdc connected app
So callback URLs are the same. Am I missing something else?
I show that Logic Apps is sending redirect_url parameter and salesforce is expecting redirect_uri but I am not sure if this could be the issue. Any help is appreciated.
Thanks in Advance.

Related

Authorization flow for Microsoft graph API in django and react

I am trying to integrate Microsoft Graph API with my Django backend application. I want to be able to read, manage and send emails on behalf of users.
The frontend is built with React
My issue now is how the authorization flow will work. I want users to authorize the app(prolly using Oauth) on the frontend after which I will get some kind of access code that I can save on the backend and subsequently use to make requests to the graph APIs on the user's behalf
Pls, how do I achieve this flow ??
Any help will be appreciated. I have been scrambling through the docs all day, need someone to point me in the right direction
Get access on behalf of a user:
Follow this documentation for more information: https://learn.microsoft.com/en-us/graph/auth-v2-user

Inbound service from Twilio configured in Softphone Layout not able to create a case in Salesforce

I have configured a Twilio Flex connected app within Salesforce for Call, SMS, SSO, and Facebook services. All the services mentioned are working fine. Basically, the idea is to create a case for an inbound service like call/SMS, etc. For that, I have configured a Softphone layout that is used for handling these inbound services inside Salesforce (Please have a look at the screenshot provided below) and creating a case with the help of the "Create a Case". But, it is giving an error as attached in the screenshot below.

Graph servicePrincipals API is not returning all the apps

I created an application in Azure Portal and did set up single sign-on with SAML, it generated ObjectID and ApplicationId and its working without any issues w.r.t functionality.
Now when I try to get the list of apps using Graph API - Applications or ServicePrincipals APIs, the newly configured app is not listed in the response. Also I tried with Salesforce App but no luck. Can anyone suggest whether I have to refer different Graph API to get the SAML enabled apps?
The app should be there when you use the List servicePrincipals API, there may be some delay, please try again via the query below works for me, it list all the SAML enabled apps, also make sure you are running it in the correct AAD tenant.
GET https://graph.microsoft.com/v1.0/servicePrincipals?$filter=preferredSingleSignOnMode eq 'saml'

Blazor, IdentityServer4 and Multi-Tenancy

I'm building a Blazor App that uses IdentityServer4 for authentication and authorization to a WebAPI. My goal is to set this up in a way where clients share the same app and api instances but have a separate database. So, all users would see "https://app.domain.com" but they would be presented with data from their database "tenant_1_db", "tenant_2_db", etc...
I've read some stuff on using acrvalues from IdentityServer4 to store the tenant value of the user but not sure if this is the most appropriate way to manage this?
Any feedback would be greatly appreciated :)

#kentico cms to salesforce community

We have a website running on Kentico. When a user logs in there will be a link available for the user to navigate to a Salesforce Community. When the user clicks the link I would like to automatically log the user into the Salesforce Community. My Kentico Users as in sync with the Salesforce contacts/external users.
Has anyone implemented this? If so, can you share how you achieved? It seems like a SAML Assertion needs to be generated and posted but I am not familiar with how to do this.
Thanks in advance!
Since Kentico should not be used as the authentication provider for other applications, it will be easier for you to find out can SF Community provide some authentication API which then you can setup custom external authentication (through SF) in Kentico.
You can also consider using something like OpenID which is supported by both SF and Kentico. (https://help.salesforce.com/articleView?id=networks_authentication_options.htm&type=0)

Resources