Hello Team,
I am working on a custom application in Freshdesk which requires the use of Microsoft Teams API. But in order to use the API with access token i have to implement the OAuth handshake with required permissions.
I am using fdk platform version 3.0 for the implementation. I have added the redirect URL to my App in Azure. The authentication is set on account level but whenever i go to localhost:10001 I am being redirected to the installation parameters page without going to the Mircosoft OAuth page.
Here is my OAuth configuration
{
"integrations": {
"microsoft": {
"display_name": "microsoft",
"client_id": "123",
"client_secret": "123",
"authorize_url": "https://login.microsoftonline.com/my_tenant_id/oauth2/v2.0/authorize",
"token_url": "https://login.microsoftonline.com/my_tenent_id/oauth2/v2.0/token",
"options": {
"scope": "User.ReadBasic.All"
},
"token_type": "account"
}
}
}
This what i see in my .fdk file.
{"freshs_101_101_migrate_oauth_status":true,"report_hash":"6f914322e34ef8cca94e6ba13734ff502f3bf3b7639c45aaf2c9fbbda0"
I would really appreciate some help here. Has anyone already come across this and if you could share your insights on what is the cause of this it would help me out. Thanks in advance