Developer Platform
  • Home
  • Getting Started
    • General Information
    • Features Overview
    • Security
  • APPs
    • Public Apps
      • Shopify
      • Salesforce
      • Zendesk
      • Google Analytics
    • Build your App
      • Getting started
      • My Apps
      • App information
      • App Parameters
      • App Plugins
      • Add Webhooks
      • Submit your Apps
      • App security
      • Developer Policy
  • Use Cases
    • Copilots
      • Product Catalog sync through API
      • FAQ sync through API
    • Visitor experience
      • Integrating custom buttons into your site
      • Check availability before escalating to iAdvize
      • Authenticated Messaging
        • Introduction
        • Web client-side implementation
          • Authenticated Messaging overview
          • Brief timeline of the integration process
          • How to enable authenticated mode in the administration portal?
          • How to implement the customer authentication backend (token provider)?
          • How to authenticate with iAdvize in client's website?
          • How to deal with activation success or failure?
          • How to logout?
          • Compatibility with Mobile SDK
          • FAQ
        • Web backend implementation
          • Important information and recommendations
          • Signature and Encryption Detailed Process
          • Technical backend implementation
          • FAQ
      • Cross-domain Conversation Continuity
      • Customize replies with Markdown
    • Agent workspace
      • Custom App example and step-by-step tutorial
        • Get Started
        • Work with the Desk
        • Intent / Trigger
        • JWT
        • References
    • Administration
      • Users
        • SAML SSO Authentication - Implementation Guide
        • Create, update and delete users via API
        • Manage the availability of your users with the iAdvize API
        • Integrate the iAdvize conversation panel into an existing tool
    • Data & Analytics
      • Anonymize a conversation or visitor data
      • Create a custom dashboard
      • Find contact data using GraphQL
      • Retrieve conversations data
      • Retrieve messages exchanged within a conversation
  • Technologies
    • GraphQL API
      • Terminology
      • Reference
      • Authentication
      • Schema lifecycle
      • Error Management
      • Pagination
    • REST API (deprecated)
      • Statistic (deprecated)
      • Group (deprecated)
      • Call meeting (deprecated)
      • Operator (deprecated)
      • Skill (deprecated)
      • Transaction (deprecated)
      • Visitor (deprecated)
    • Webhooks
      • Reference
      • Guides
    • Desk events
      • Reference
    • Web & Mobile SDK
      • Javascript Web SDK
        • Reference
      • Javascript Callbacks
        • Reference
        • Guides
      • Mobile SDK
        • Fourme (latest)
        • Epoisses
        • Dauphin
        • Cantal
        • 🤝Support Policy
        • 🤔Frequently Asked Questions
    • Custom App
    • External Bot
      • Implementation
        • Configuration flow
        • Conversation flow
        • Conversation objects
      • Configuration
      • FAQ
      • Best practices
Powered by GitBook
On this page

Was this helpful?

  1. Use Cases
  2. Visitor experience
  3. Authenticated Messaging

Web client-side implementation

This article is intended for developers who will be doing the front integration.

PreviousIntroductionNextAuthenticated Messaging overview

Last updated 1 year ago

Was this helpful?

In this section, you will learn how to :

  • Enable authenticated mode

  • Setup authentication

  • Sign-in

  • Logout

  • Deal with activation success or failure

  • Deal with visitor identity expiration.

Conversation scenario

Scenario

1

Across multiple computers / browsers

  • Sarah visits the website on her personal mobile

  • Sarah starts a conversation as an anonymous visitor

  • Sarah authenticates in the customer space, and can continue her conversation

  • Sarah visits again the day after (whatever the delay) on her professional computer

  • Sarah authenticates in the customer space

  • Sarah sees her ongoing conversation again

2

Across mobile site & mobile app of the brand using one device

  • Sarah visits the mobile site on her smartphone / tablet etc.

  • Sarah starts a conversation as an anonymous visitor

  • Sarah’s conversation is closed or not by an agent

  • Sarah visits the mobile app on her smartphone / tablet etc.

  • Sarah authenticates in the customer space

  • Sarah doesn’t see her ongoing conversation or closed conversation, she can just see the last authenticated conversation

3

Multiple on-going conversation

  • Sarah visits the mobile site on her smartphone / tablet etc.

  • Sarah authenticates in the customer space

  • Sarah starts a conversation, but leaves it open

  • Sarah visits again the day after (whatever the delay) on her computer

  • Sarah starts a conversation as an anonymous visitor

  • Sarah authenticates in her customer space

  • Sarah starts a conversation

  • Sarah sees the on-going conversation she created on her smartphone, and she can’t continue the anonymous conversation she just created. If she wants to get back at her anonymous conversation, she has to logout.

4

Expired Session

  • Sarah visits the mobile site on her smartphone / tablet etc.

  • Sarah authenticates in the customer space

  • Sarah starts a conversation, and leaves it open

  • Sarah leaves the site without logout, and visits again the day after (whatever the delay) on her smartphone / tablet etc. The session has expired, she’s not authenticated anymore. She can’t see anymore the conversation.

  • Sarah authenticates in the customer space

  • Sarah sees her ongoing conversation again

5

Multiple visitors

  • Sarah visits the website on her family computer

  • Sarah starts a conversation as an anonymous visitor

  • Sarah’s conversation is not closed by an agent

  • Sarah leave the website

  • Paul visits the website the day after (whatever the delay) on the same computer

  • Paul authenticates in the customer space

  • If Paul never had an authenticated conversation before, he sees Sarah’s on-going anonymous conversation. But if he already have one, then he sees his conversation and not Sarah’s.