Author Message
NLiyana012024
Joined: Feb 2, 2021
Messages: 3
Offline
OD - 7.10.12.02
Hello,
I need help on understanding how to implement Jason web token authentication for a REST API instead of basic authentication. please provide any samples if available.

Thanks in advance.
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi.

- 'OD release 7.10.12.02' is not clear. Do you mean OD 7.1.0 ?


- Are you searching for info as follows ?

https://documentation.avaya.com/bundle/ExperiencePlatform_Workflows_10/page/REST_task.html#ariaid-title4

https://developers.avayacloud.com/onecloud-ccaas/reference/generatedigitalchattoken


NLiyana012024
Joined: Feb 2, 2021
Messages: 3
Offline
Yes it's 7.1.0.
Does OD support JWT for REST authentication? One of the links you provided shows that OD support Basic, Bearer token and auth 2.0 authentication methods. I want to know how to use JWT in OD? Are there any examples for it?

Thanks in advance!
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Ok so you are interested in the AAOD 7.1.0.


The link I posted ( https://developers.avayacloud.com/onecloud-ccaas/reference/generatedigitalchattoken ) is for the Avaya Experience Platform (AXP), the Avaya cloud CcaaS.


Concerning the OD, The AAOD 7.1.0 Developers' Guide ( https://www.devconnectprogram.com/fileMedia/download/a0662117-92d9-4b69-bef5-ff54bf7e6bf1 ), on pages 342 -343, states

"Authentication

Options to determine how Orchestration Designer authenticates with the Web server that hosts the REST Web service.

The options are:

• No Authentication:
No authentication is required.

• Basic/Digest:
The system sends the user name and password pair in a Base64 encoded and unencrypted format in the HTTP header to the Web server."

Anyway, on this thread ( https://www.devconnectprogram.com/forums/posts/list/23788.page#p159982 ), a developer said you can try to add a bearer token through the request parameters. Except this one, I have no info.
NLiyana012024
Joined: Feb 2, 2021
Messages: 3
Offline
Yeah those authentication methods are I am aware of. I think for JWT I will probably need to do servlets with custom code. I just wanted to see if anyone has tried it before or has any samples.
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Servlets with custom code can be the good way. I already looked for a sample app unsuccessfully (this is why I did not mention above).
Go to:   
Mobile view