/
Generating the OAuth 2.0 Access Token
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Generating the OAuth 2.0 Access Token

Follow the instructions given below to generate the OAuth 2.0 access token that you need to be send via the REST client:

  1. Obtain the client credentials using the dynamic-client-registration service.


     

  2. Encode the client credentials as follows:
    1. Access any base64 encoder. 
      For example: https://www.base64encode.org/
    2. Enter the OAuth2 Consumer Key and OAuth2 Consumer Secret in the following format in the encoder input section:
      <CLIENT_ID>:<CLIENT_SECRET>
      For example:
      f8fc0aI14DPrQ_DwkpSau1LGdwAa:p8g_rFXtbPjl5pGMJe4bNd5fwSEa
    3. Click Encode to generate the encoded key.
      The following is an example of an encoded key:
      cDhnX3JGWHRiUGpsNXBHTUplNGJOZDVmd1NFYTpmOGZjMGFJMTREUHJRX0R3a3BTYXUxTEdkd0Fh
  3. Generate the access token using the following command:


     

    The above command generates an access token and a refresh token. 
    For more information on generating the access token  and the refreshing the token at the time a token is renewed, see WSO2 APIM documentation on Token API.

 

Related content

Generating the OAuth 2.0 Access Token
Generating the OAuth 2.0 Access Token
More like this
Generating Access Tokens with Credentials - Client Credentials Grant Type
Generating Access Tokens with Credentials - Client Credentials Grant Type
More like this
OAuth Request Path Authenticator
OAuth Request Path Authenticator
More like this
OAuth Request Path Authenticator
OAuth Request Path Authenticator
More like this
OAuth Request Path Authenticator
OAuth Request Path Authenticator
More like this
OAuth Request Path Authenticator
OAuth Request Path Authenticator
More like this
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.