Use Client-Principal from OpenEdge Authentication - Forum - Rollbase - Progress Community

Use Client-Principal from OpenEdge Authentication

 Forum

Use Client-Principal from OpenEdge Authentication

This question is not answered

We are currently using OpenEdge Authentication to get our client-principal. My question is how do we pass that client-principal along to methods exposed by our JSDO service in addition to the OpenEdge objects we are using?

 

Thanks for your help!

All Replies
  • Hi SteveBos,

    Client Principal token (“{!#CP_TOKEN}”) can be used in an HTTP header under the header name ‘X-OE-CLIENT-CONTEXT-ID’.

    Example:

    var headers = {

     'X-OE-CLIENT-CONTEXT-ID' : '{!#CP_TOKEN}'

    };

    rbv_api.sendJSONRequest('{!ttBPMDomain1151.resourceURI#jsdo}', '', 'GET', 'application/json', '', '', headers);

    Thanks

    Vasantha