Oct 05 2022 01:04 AM
Hello,
Is it possible to obtain a token for an app registration (clientid and clientsecret) ?
I need it to use for accessing https://www.yammer.com/api/v1/messages/my_feed.json
Thanks
Oct 05 2022 04:17 AM
@ssandu All Yammer v1 REST API endpoints support using Azure Active Directory (AAD) Tokens that are acquired using the Microsoft Authentication Library (MSAL). MSAL is available for .NET, JavaScript, iOS and Android, which support many different application architectures and platform. Learn about using MSAL.
Source: Yammer - Implement Authentication
Check if below documentation helps you: Register An App With Yammer
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 05 2022 07:08 AM
Oct 05 2022 08:15 AM
@Sorin Sandu You can use same Azure AD app in SPFx web parts as well. Check below documentations for more information about using Azure AD Apps in SPFx web parts:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.