OTDS version 22.4, Ihub version 16.7
The purpose is to get a token automaticately (Oauth2 probably) to set the credential of the JSAPI configuration, to view some rptdesign.
Since the implementation of OKTA authentication with SAML, i have to define the credentials for the connexion :
var extOTCredentials ="TOKEN VALID";
const requestOpts=new actuate.RequestOptions();
requestOpts.setVolumeProfile("Default Volume");
requestOpts.setRepositoryType(actuate.RequestOptions.REPOSITORY_ENCYCLOPEDIA);
requestOpts.setCredentials(extOTCredentials);
actuate.initialize(url, requestOpts, null, null);
With authentication SAML with OKTA between OTDS and Ihub (priority 1):
I tryed this : https://forums.opentext.com/forums/developer/discussion/308065/oauth-2-0-authentication-with-otds/p1, i got a token but it's not working for JSAPI credential
The only things that is working at the moment, it's to use the SAML token of an authenticated user.
Maybe i missconfigurated OTDS or others things, i don't know. If you can provide me some help/tips, will really apppreciate.
Dears,