Test the skill in the developer console
Before you submit your skill for moderation, test it and make sure that authorization works correctly. In the developer console, go to the skill page and open the Testing tab.
Make sure that:
- The account links to Yango correctly.
- All devices connected in your app appear in the Yango Play app.
Fixing errors
You may see the following errors during authorization:
- Errors relating to settings in the developer console. To fix these errors, compare the parameters you specified when creating authorization with the working environment settings. You may have entered an incorrect URL or some other parameter.
- Errors on the authorization server. A common reason is that the authorization server fails to meet the OAuth 2.0 specifications. To fix errors on the authorization server, you need its logs.
Run a detailed tracing for HTTP requests using the TRACE HTTP method. Check the headers, parameters, and body of requests that Yango Dialogs sends to the authorization server.
Implement an HTTP proxy to intercept traffic between Yango Dialogs and the authorization server. The proxy logs all requests. Analyze the logs: check the URLs, headers, and request parameters exchanged between Yango Dialogs and the authorization server.
To install an HTTP proxy, set up the infrastructure: the network server, the environment to deploy the code, and so on.