Search for existing answers to your product and support questions.
Familiarize yourself with our support site and learn best practices in working with our team.
Manage Service Requests, View and update service requests submitted by you and others in your organization.
Submit a new issue to our technical support team.
Oracle B2C Service insights from our Technical Support team subject matter experts
Browse resources to assist you in launching your implementation and ensure a successful go-live.
Access your OCI account.
Find product documentation for supported versions of B2C and documentation libraries for related service solutions.
You will have the tools to improve your customers' experience when you learn about all the things our products can do.
Find links for API documentation, Custom Processes, Customer Portal, and Agent Browser UI Extensibility Framework.
Explore how accelerators are designed to demonstrate how an integration scenario could be built using the public integration and extension capabilities of the Oracle B2C Service.
Prepare for a successful transition by reviewing upcoming release changes and enhancements.
Explore webinars, events, and feature kits to learn about B2C Service features, functionality, and best practices from the technical experts.
Oracle MyLearn offers a portfolio of free and paid subscription-based learning resources to help you gain valuable skills, accelerate cloud adoption, increase productivity, and transform your business.
Empower your team with the skills to implement, configure, manage, and use your applications with Customer Experience Cloud Training.
Our goal is to facilitate a friendly, supportive environment where members can easily collaborate with each other on solutions and best practices.
Ask and answer questions specific to B2C.
This is an exciting resource intended to help with your Oracle Service Cloud Analytics.
Share product improvement ideas and enhancement requests with Oracle Development, while collaborating with other Oracle customers and partners.
Update your phone number, email notification preferences, and severity 1 and severity 2 contact preferences.
View the contact managers within your organization.
Find contact information of the Technical Account Manager (TAM) and Client Success Manager (CSM) for your organization.
How do I implement session authentication for the Connect REST API?
Environment:
Connect REST API
Resolution:
Session authentication for the Connect REST API is primarily used with the Agent Browser UI (BUI) Extensibility Framework. BUI extensions can obtain a session token for authentication through the IExtensionGlobalContext.getSessionToken function. For details please see the IExtensionGlobalContext section within the Agent Browser UI (BUI) Extensibility Framework API documentation.
Alternatively, a session token can be obtained using a custom script. To get the session token - the script will use code documented here:
https://documentation.custhelp.com/euf/assets/devdocs/unversioned/Connect_PHP/Default.htm
Connect PHP API -> API access control and authentication -> Authenticating with AgentAuthenticator()
Use this URL as an example to return a session token (account username and password can be passed as arguments to the script rather - but in this example they are hard-coded):
https://[cp domain URL for site interface]/cgi-bin/[interface name with underscore].cfg/php/custom/session_token.php
Contents of session_token.php script located in /cgi-bin/[interface name with underscore].cfg/scripts/custom/src/session_token.php on server (in custom scripts directory in console File Manager):
<?
if (!defined('DOCROOT')) { define('DOCROOT', get_cfg_var('doc_root')); }
require_once (DOCROOT . '/include/services/AgentAuthenticator.phph'); $account = AgentAuthenticator::authenticateCredentials('account username', 'account password');
print $account['session_id']; ?>
Then, using the Postman application as an example, this request will return the data for contact object with id 1:
GET https://livetest-19c.custhelp.com/services/rest/connect/v1.3/contacts/1
Authorization: No Auth
Headers:
Key authorization
Value Session [the session token obtained from custom script]
For further details please see the Quick Start section within the Connect REST API documentation.