Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is an example generic HTTP connector config for Graph Api - Microsoft Teams #1503

Open
s-abdo opened this issue Jul 14, 2023 · 0 comments

Comments

@s-abdo
Copy link

s-abdo commented Jul 14, 2023

Use case

I am a developer building an app that send notifications to people through MS Teams.

Additional details

In order to get the necessary credentials to send the notification, I need to make some requests to MS Teams. One of them is to get a token.
To make this request I need to send a request like this:

POST /{tenant}/oauth2/v2.0/token HTTP/1.1
Host: https://login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded

client_id=11111111-1111-1111-1111-111111111111
&scope=user.read%20mail.read
&grant_type=password
&client_secret=HF8Q~Krjqh4r...    // NOTE: Only required for web apps

The point is that some of those parameters must be sent in the body request, such as scope, grant_type, client_secret, client_id

So, it will be really useful to build a connector able to send body parameters in the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant