Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
previewfalse
uploadfalse
oldfalse
patterns.*json

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@130ff
showSpacefalse
sortmodified
typeshowSpacepagefalse
reversetrue
labelstypedirectivepage
cqllabel = "directive" and type = "page" and space = "OCS"
labelsdirective