44
Views
4
Comments
Solved
Integration Azure with Oauth2
Question

Have you ever done some integration with using OAuth2 forge module for integrating to Azure? I am trying to have request with request body below
client_id={}
&scope={}
&redirect_uri=http://localhost/myapp/
&grant_type=authorization_code
&client_secret={}
&code={code}
Do you know what I can write for code part (I could find all other op) 


I looked couple options but it is not helping

UserImage.jpg
Charos Abdukayumova
Solution

You can take token with this request. SO far it is working fine.

UserImage.jpg
Biswajit Kayal

@Charos Abdukayumova if you are trying to generate access token, you can use the token endpoint to generate the token. I haven't tried using any forge components.

2021-10-09 07-57-44
Stefan Weber
 
MVP

For a complete tutorial on OAuth Authorization Code flow please see my article here https://medium.com/itnext/acquire-and-link-multiple-oauth-tokens-to-outsystems-users-for-delegated-access-b2ba74ca78a0

And here https://medium.com/itnext/getting-started-with-outsystems-and-microsoft-graph-123006356d41 using the Microsoft Login Connector Forge component and more details on Azure app registration.

Stefan

UserImage.jpg
Charos Abdukayumova

Thank you for your reply!
Sadly, my request for these forge modules weren't approved due to security reasons in our company.
Luckily, I could solve connection issue

UserImage.jpg
Charos Abdukayumova
Solution

You can take token with this request. SO far it is working fine.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.