...
Code Block |
---|
if(!msg.payload.orbita) { msg.payload.orbita = {}; } if(!msg.payload.orbita.directive) { msg.payload.orbita.directive = []; } msg.payload.orbita.directive = [{ type: "html5", options: { template: '450x500', url :"<Login page URL of your Instance>" }, loginSuccessUtterance: 'success' }] msg.payload.orbita.state = "Login" return msg; |
Info |
---|
You can use |
The line msg.payload.orbita.state = "Login"
is optional.
If you choose not to use state, you should remove the state in the Loginsuccess Intent. See, How do I use state?
...
The Login Directive and the Inline Login are combined in a single flow in the below attachment.
Attachments | ||||||||
---|---|---|---|---|---|---|---|---|
|
...