Hi @sheela.dimayuga,
This is achievable on Kore.ai using custom authentication service type at service node of dialog tasks. Please refer to the below link on developer documentation and let us know if you have any further questions.
The platform offers the capability for the developer to define a custom authentication type at the service node using which he could use to send back a response to the platform (which should be available in the context data) and define the transition rules accordingly.
Below is an demonstration of using the custom authentication service type at service node of dialog tasks:
The task ‘Book a ticket’ uses custom authentication service type at a service node and proceeds to the entity ‘date’ only if the value in context for key ‘isValid’ is true. The developer should create the infrastructure to collect, decode the callback url from the auth link and make a POST call to the callback URL to push data to the platform as per requirement.
Sample dialog configuration:
Screenshot of auth message presented to user during execution of dialog ‘Book a ticket’
Screenshot of auth link being resolved and containing the callback url of the platform which the developer could use to make a POST call