Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://wso2.org/jira/browse/DOCUMENTATION-3934

...

  1. Sign in to the WSO2 APIM Management Console (https://<Server Host>:9443/carbon) and click Add under Service Providers.

  2. Enter the name of the service provider and click Register.
  3. Click Configure under Inbound Authentication Configuration > OAuth/OpenId Connect Configuration to add a new OAuth client.
  4. Provide a callback URL and click Add.
    If you do not have a callback URL, you can clear the Code and Implicit authorization grant types and add the OAuth client.
    Anchor
    step4
    step4

    You have now created the OAuth client and are provided with the OAuth client key and OAuth client secret.
    Image RemovedImage Added
  5. Enable the option to provide out-of-band keys by opening the <APIM_HOME>/repository/deployment/server/jaggeryapps/store/site/conf/site.json file and changing the "mapExistingAuthApps" setting to true.

    Code Block
    "mapExistingAuthApps" : true
    Note

    Note that the the ability to provision Out-of-Band Auth client will only be available for the applications that you created after doing this configuration.

  6. Sign in to the WSO2 API Store.
    https://<Server Host>:9443/store 
  7. Click Applications.
  8. Click on the respective application to view the subscriptions details for the application.Image Removed
    Image Added
  9. Provision an out-of-band OAuth client for the required environment.

    Note

    The following steps explain how you can provision an out-of-band OAuth client for the production environment. If you wish to generate keys for your sandbox, you can follow the steps below using the Sandbox Keys tab.

    1. Click Production Keys.
      Notice that you now see a Provide Keys button for your application. 
      Image Removed Image Added
    2. Click Provide Keys, paste the consumer key and consumer secret pair, which you received in step 4, and click Save
      Image Removed Image Added

    You have successfully provisioned an out-of-band OAuth client.