Contents

Popular

Versions Compared

Key

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

...

Now, go through the below sections to know how to use OAUTH mentioned in the above sections

...

To configure OAUTH Token End Point, the first step is to create a project using OAUTH Token Endpoint

...

After creating the project, double-click the AccessToken project to get into the project. Notice the below configuration settings that takes take place automatically:

a) Go to Policies section to check that the OAUTH Token End Point Policy is set.

...

Now that the Access Token Endpoint is ready to receive requests from the clients with valid registration, create a an OAuth Verify Access Token policy and attach it to the Proxy Request endpoint of the resource. You can do this while creating a project as well as to the existing one.

...

While creating a new REST/HTTP or WSDL project, choose the "OAuth 2.0 Access Tokens" option for the Secure API with property a property.


Figure 4: Choosing to apply OAuth Access Token while creating a project

Open the project and notice the following configuration settings that takes take place automatically:

a) Go to Policies section to check that the Verify Token Policy configuration is set.

...

Refer the Adding Policy section and the previous section OAUTH 2.0  to add OAuth Verify Access Token policy and manually select Query option as the accesstoken access token location.

Go to Resources section, click the Proxy Request endpoint in the DefaultResource and add the OAuth Verify Access Token policy by clicking the Edit  button and then using the left arrow  button.

...

Now create a product and add the OAuth-secured API project to it, create a Client and then create Client Subscriptions. To do this, use Apps - Manage API Products and Client Subscriptions prompt in the Dashboard and follow the steps mentioned in the Adding Products, Clients and Client Subscriptions section.

...

When a valid request is sent, an access token is generated as shown in the above figure.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence