Versions Compared

Key

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

...

  • apiAlias - the alias name given when registering the API details in the App Manager publisher.  
  • applicationToken - the base64 encoded value of consumer/secret key pair provided by the App Manager.  
  • payload - the payload needs to send the grant type and the scope value. Grant type need to be set as SAML2. Scope should contain the value of samlTokenId cookie and apiAlias as comma -separated strings.
  • httpClient.doPostthe token API provided by the App Manager. Change it with the define port offset accordingly.
Note

For more information on obtaining an OAuth2 token by providing a SAML token, see the Pizza Shack sample.