This documentation is for WSO2 App Factory 1.0.0. View documentation for the latest release.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


3. Write your application to get keys by calling the CarbonContext and Registry APIs. The correct sandbox and production keys (consumer key and consumer secret) will be used depending on where the application is deployed.

Image Modified

Note: Sample source code can be found in <AF_HOME>/samples directory of the downloaded appfactory pack. Sample index.jsp with above changes can be found at API_Invoker/API_Invoker/WebContent/index.jsp .