My Oracle Support Banner

Error: " No username headerkey found while authentication mode was SAML/SSO" When Attempting to Login Into P6 Professional Using SAML in Oracle Cloud Environment (Doc ID 2506372.1)

Last updated on OCTOBER 19, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.5 and later
Information in this document applies to any platform.


When attempting to authenticate in P6 Professional using SAML,in an Oracle Cloud Hosting Environment, the following error is observed:

"Unable to connect to the database. Please run the Database Configuration tool or contact your administrator"

The following was observed in the Cloud Connect logs:
java.lang.Exception: No username headerkey found while authentication mode was SAML/SSO
  at com.primavera.client.CloudClientServlet.doPost(
  at javax.servlet.http.HttpServlet.service(
  at javax.servlet.http.HttpServlet.service(
  at weblogic.servlet.internal.StubSecurityHelper$
  at weblogic.servlet.internal.StubSecurityHelper$
  Truncated. see log file for complete stacktrace

Steps to Duplicate:

  1. Login to P6 Professional for CloudConnect, configured for SAML/SSO
  2. Observe error


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.