Versions Compared

Key

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

Understand the usage of Access Tokens within CRM.COM

Back to Access Tokens Main Page

Panel
nameblue

Table of Contents

Table of Contents
minLevel2

What are Access Tokens?

Access Tokens are used to identify and authenticate customers, users or applications with access to CRM.COM. Access Tokens can be created automatically by the System or manually through the UI or the Web API.  They are primarily used when access is required to CRM.COM data from a 3rd party System, such as a mobile application or a portal.
For example, an organisation may allow its customers to register through its portal and access their personal information from CRM.COM, by identifying and authenticating themselves through the use of an Access Token.

Access Tokens Glossary

TermsDescriptions
Rewards ParticipantsCustomers who have signed up to participate in the Rewards campaigncampaigns.
Accounts ReceivableThe financial account which can be used to uniquely identify a customer in the System.
Authentication Code

The code which uniquely identifies and authenticates a user/System (usually used by apps and 3rd party Systems) accessing CRM.COM.

Note

If an Authentication Code is used, then an Identifier and Pass Code are not mandatory.

Identifier

A sequence of characters used to identify a user in CRM.COM, such as their username.

Note

If an Identifier is used then the Pass Code is mandatory. An Identifier and Pass Code are usually used by single users.

Pass Code

The code used to authenticate a user that is trying to access CRM.COM.

Note

If an Identifier is used then the Pass Code is mandatory. An Identifier and a Pass Code are usually used by single users.

Verification Code

A code that can be automatically generated together with each new Access Token and used for its verification and activation.

Note

The generation process of the Verification Code is configurable.

Access Tokens Key Processes and Concepts

Processes / ConceptDescription

Creating & Assigning Access Tokens Through other Modules

The System provides the ability to create or assign Access Tokens through the following modules, other than from the Access Token Data Entry page.

  • Rewards Participants
  • Accounts Receivable

Users have the ability to select or create the Access Token which is used to identify and access the participant or the account.
The formatting and the generation of the Access Token attributes , are dependent on the configuration of the 'Active' Access Token Definition.

Note

When you create a new Access Token via the Access Token Data Entry page, you can use the tool-tips to see the rules governing the formatting and generation of attributes according to the Active Access Token Definition or Access Token Classifications 

TOOLTIPS

View Managing Access Tokens and Applying Access Token Definition Settings on Access Tokens for more information.

 

As from

Status
colourGreen
titleCRM.COM R10
, the Access Token attributes can be dependent on the Access Token Classifications instead of the Access Token Definition.

Updating the Life Cycle State of Access Tokens

The Life Cycle State of an Access Token defines whether the token will be 'Effective', 'Not Effective' or 'Pending Verification'
. Only 'Effective' Access Tokens will allow customers to be logged-in loggedin and authenticated in CRM.COM.
If there is no longer any entity related to it, then the Life Cycle State can be automatically set to 'Not Effective'

Note

View Managing Access Tokens for more information.

Verifying & Using Access Tokens Pending Verification 

The Life Cycle of an Access Token will dictate whether the token can be used to connect to CRM.COM. Only a token with an 'Effective' Life Cycle State is considered valid for connection.

Access Token with 'Pending Verification' Life Cycle State, require verification from the customer before they can be set to 'Effective' and used to access CRM.COM.

The Verification Process is initiated when a new Access Token is created.

  • The Access Token is created in a 'Pending Verification' Life Cycle State
  • The Verification Code is automatically generated by the System and sent via a Communication (which can be email or SMS) to the customer  
  • The customer calls and verifies his Access Token by providing the Verification Code
  • Once verified, the Life Cycle State is changed to 'Effective' and the Access Token may be used to access CRM.COM
Note

The Verification process is not mandatory. If not configured, then Access Tokens will be directly created in an 'Effective' Life Cycle State.
You can enable and configure the Verification Process in the Access Token Definition.

Refer to the Business Example below to find out the configuration requirements in order to use the Verification Process.

Communicating new Access Tokens

the related information (Identifier and Pass Code or Authentication Code) can be communicated to them.

Whenever a new Rewards Participant or Accounts Receivable is created with an Access Token, the System can automatically communicate required information such as Identifier and Pass Code or Authentication Code, via email, smsSMS, or any other system used to communicate with the customer

This communication preference can be set up through the Active Access Token Definition

Resetting the Pass Code 

Access Tokens are used to identify and authenticate a user in CRM.COM by either using:

  • An Authentication Code
    or
  • An Identifier and a Pass Code 

Pass Codes function like passwords. If a Pass Code is lost or needs to be updated, then the Reset Pass Code action can be used to generate a new Pass Code for the Access Token, without having to provide the old Pass Code.

Access Tokens Access & Viewing Controls

Business Network Characteristics define the level of access for each record. i.e., whether the record will be available for selection, viewing or editing.

EntityNetwork CharacteristicsDescription
Access TokensGlobal Viewing EntitiesAccess Tokens have no access restrictions. They can be viewed and selected by all users.

Access Tokens Related Modules 

EntityInteraction of Access Tokens with Entity
Reward ParticipantsAccess Tokens are used to identify Reward Participants
Accounts ReceivableAccess Tokens are used to identify Accounts Receivable

 


Access Tokens - Business Examples

The following section provides business examples of how the Access Tokens module is used in CRM.COM.

Creating and Verifying an Access Token

Panel
nameblue
titleUsing Access Tokens for Rewards Participants

Business Requirement

Company ZX has created a mobile app for customers participating in its Loyalty scheme. Customers can register via the app using their email address. Once registered they receive a Verification Code in their inbox. Once the code is received the customers must provide that code on the app so that they can log into the System and access their personal details.

 


CRM.COM Solution

In order to meet the above requirement, integration of the mobile app to CRM.COM is required using the available CRM.COM WEB APIs.
The solution described below, describes CRM.COM configuration.

Configuration


Communication Template

A Communication Template should be set up in the System, in order to communicate with the customer every time an Access Token is related to a Rewards Participant.
The communication template media can be set to EMAIL so that when the communication is created, the customers receive their verification code by email.

 
Info

Dear  #accounts_receivable.name  

Welcome to our family!

Please use the following code to activate your account:  #access_token.verification_code  

Once the account is activated please use the following information to access your personal account.

 

Access Token Number: #access_token.number

Access Token Identifier: #access_token.identifier

Access Token Pass Code: #access_token.pass_code

 

 

Access Token Definition   

Set up the Access Token Definition using the configuration provided below.

  1. Identifier: format email address
  2. Pass Code: define required restriction
  3. Automation: Select Allow Creating Access Tokens with No Identifier and Pass Code
  4. Rewards Participant
    1. Select Require Verification
  5. Communication Settings > Rewards Participants
    1. Select Enable on Assigning Access Tokens to Rewards Participant
    2. Select the created Communication Template that includes the #access_token.verification_code tag (This tag will be replaced by the generated verification code).
       

Using the Verification code

Once a new customer registers through the mobile app, CRM.COM will:

  • create the Access Token in a 'Pending Verification' Life Cycle State
  • generate a verification code, which will be sent to the customer

The customer can then provide the verification code via the mobile app.  The  The Access Token's Life Cycle will be changed to 'Effective', allowing the customer to log into the mobile app using their new account.

Panel
namegrey

Related Areas

Filter by label (Content by label)
showLabelsfalse
spacesV4Manual
showSpacefalse
labelsaccess-tokens-basics-r7,access-tokens-admin-r7