...
App Manager itself provides a token API. Web applications need to call this token API with the consumer/secret key pair [WCk1, WCSk1] provided by the App Manager, when they need to get an access token for a particular API.
Info |
---|
This token API is deployed in the |
...
- apiAlias - the alias name given when registering the API details in App Manager publisher.
- applicationToken - the base64 encoded value of consumer/secret key pair provided by App Manager.
- String 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 andapiAlias
as comma separated strings. - httpClient.doPost - the token API provided by App Manager. Change it with the define port offset accordingly.
...