IBM Business Automation Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
// Set connection parameters; substitute for the placeholders.String uri = "https://<hostname>:<portnumber>/wsi/FNCEWS40MTOM/";String username = "<username>"String authToken = "<authToken>" // Client application method to obtain OAuth or OIDC SSO token// Get client context.IConnection conn = Factory.Connection.GetConnection(uri);OpenTokenCredentials creds = new OpenTokenCredentials(username, authToken, null);ClientContext.SetProcessCredentials(creds);// Get default domain.IDomain domain = Factory.Domain.FetchInstance(conn, null, null);Debug.WriteLine("Domain: " + domain.Name);
does OpenTokenCredentials supported on 5.5.8?can you provide please java sample code how to authentication using OpenTokenCredentials ?
our current environment:FN 5.5.8
The OpenTokenCredentials API is available only in CPE 5.5.9 and later. Here are some documentation links on how to use it:
Hi ROGER, is there any sample code to get a VWSession with OpenTokenCredentials ?
Unfortunately, the OpenTokenCredentials API does not yet work properly with the PE API to get a VWSession. That is being worked on and will be available in a future release.
Hello ROGER, so using OpenTokenCredentials API there's currently no support at all to launch workflows or to get work items even with REST APIs?