I will start with initial.
I am working with one Smart Home Skill. I have implement APIs at my end to communicate with IoT wifi enabled device. I am using lambda as an interface to communicate with API. My Lambda function is also working fine, I have tested all possible usecase implemented in lambda with sample JSON and can see the final outcome on device. So there is no issue in API and Lambda.
I have also designed Login page and authorization API(for Access Toekn) as mentioned in official documentation. Right now skill is in testing mode I have not applied for publishing as I want to test first all the stuff. Now when I go to skill and click enable skill, application redirects me to the Login page designed by me. In this login I am redirecting to provided redirect URL with state & code in query string. I have checked redirect URL which is also fine. Which is as below
So as per my understanding after being redirected AWS will internally call Authorization URL to get Access Toekn using which it can communicate further. But here I am geting error as below
"An error occurred while attempting to link alexa with the external provider"
How can I check what is the error as I have now no clue whats is not working? Do I need to implement some code in Lamda for authorization(I think I do not really need as Lambda will be responsible for handling device related stuff).
My server is also HTTPS enabled. Can you please guide me what needs to be done now? I am having cert for HTTPS from GoDaddy and api is also hosted on GoDaddy only.
Any help is really appreciated.