Hi,
I am currently working on the integration project. It is a Integration between MS Dynamics online and Twitter.
I have to implement Twitter OAuth flow in CRM to authorize CRM user to access their account in Twitter.
As per the Twitter OAuth flow, CRM should direct the user to Twitter so that they may complete the appropriate authentication flow in Twitter. Upon a successful authentication, Twitter will send the temperary oauth_token and oauth_verifier parameters to CRM callback URL.
The challenge is I don't have a way to set up a call back URL inside CRM online. I was trying to created a HTML webresource as the call back URL in CRM to accept the data from Twitter. However CRM throws a HTTP Internal 500 error as URL parameter is not allowed on HTML page.
We may host a aspx page on Azure website to receive the call back request from Twitter containing the temporary oauth_token and oauth_verifier parameters and save these in Azure DB. After then our CRM application can retrieve this temporary oauth_token and oauth_verifier from the Azure website and use these to request a usable access token from Twitter which will be stored in CRM DB. However this approach will need a website created outside of CRM with huge dependency.
Can anyone help me how can I implement this inside the CRM without holding an additional page outside of CRM online?
Thanks in advance!
Zhe Chen