My Oracle Support Banner

ORA-06512: At "APEX_180100.WWV_FLOW_CREDENTIAL", Line 424 in APEX with Active Directory Authentication (Doc ID 2451220.1)

Last updated on MAY 15, 2023

Applies to:

Oracle Application Express (APEX) - Version 18.1.0.00.45 to 18.2
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

The APEX application Authentication was changed to authentication with Active Directory. Authentication Provider = OpenID Connect Provider and authentication works without issues.

When more information is included in the Authentication response the following error is observed:

ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small

"- ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APEX_180100.WWV_FLOW_CREDENTIAL", line 424
ORA-06512: at "APEX_180100.WWV_FLOW_CREDENTIAL", line 469
ORA-06512: at "APEX_180100.WWV_FLOW_AUTHENTICATION_NATIVE", line 704
ORA-06512: at "APEX_180100.WWV_FLOW_AUTHENTICATION_NATIVE", line 1779
ORA-06512: at "APEX_180100.WWV_FLOW_PLUGIN", line 2907
ORA-06512: at "APEX_180100.WWV_FLOW_PLUGIN", line 3067
ORA-06512: at "APEX_180100.WWV_FLOW_AUTHENTICATION", line 1727"
- ora_sqlcode: -6502
- apex_error_code: APEX.UNHANDLED_ERROR
- is_internal_error: true
- display_location: ON_ERROR_PAGE
- additional_info: Contact your application administrator.

ERROR
-----------------------
ORA-06512, ORA-06502

Changes

Change the ADFS authentication response to include more information on the user authenticated. 

Cause

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
Symptoms
Changes
Cause
Solution
References


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