...
Code Block |
---|
msg.orbita.session.isLogin = true; return msg; |
Render Login
...
page in the chat bubble
You can make use of the HTML directive and load the Login page within the Chat bubble.
...
Code Block |
---|
msg.payload.orbita.directive = [{ type: "html5", options: { template: '500x600', url :"https://environment.orbita.cloud:8443/oauth/login?response_type=code&redirect_uri=https://environment.orbita.cloud:8443/oeapi/bot/support&scope=personaldata&client_id=*****" }, loginSuccessUtterance: 'success' }] |
The loginSuccessUtterance: 'Intent_Name',
will invoke the Intent when you click on the Sign-In button.
Attachments | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Filter by label (Content by label) | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|