This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To enable OAuth support for your client application, you must first register your application by providing an application name and a callback URL. Follow the instructions below to add a new application.

1. Sign in. Enter your user name and password to log on to the Management Console.

2. Click the "Main" button to access the "Manage" menu.

3. From the "Main" menu, select "OAuth" under "Manage."

4. Click on the "Register New Application" link on the "OAuth Management" page.

5. Specify the "Application Name" and "Callback URL" on the "Register New Application" page, and click on the "Add" button.

6. The new application will be registered in the Identity Server. Click on it to view its details.

7. The following application details are displayed on the "View/Update application settings" page:

  • Consumer Key - OAuth consumer key
  • Consumer Secret - OAuth consumer secret
  • Access Token URL - https://localhost:9443/oauth/access-token.
  • Authorize URL - https://localhost:9443/oauth/authorize-url.
  • Request Token URL - https://localhost:9443/oauth/request-token.

Infor

The default OAuth token expiry time in WSO2 Identity Server is 1 hour (3600s). You can increase this by changing the value of element 'AccessTokenDefaultValidityPeriod' in <IS_HOME>/repository/conf/identity.xml file. Token expiry time cannot be set to infinity (never expires).

  • No labels