My Oracle Support Banner

Error:"invalid_redirect_uri" While Trying to Access The Apex Application with IDCS Authentication After the Disaster Recovery Using Data Guard (Doc ID 2817510.1)

Last updated on NOVEMBER 02, 2021

Applies to:

APEX Application Development - Version NA and later
Autonomous Database on Shared Infrastructure - Version N/A and later
Autonomous Data Warehouse - Dedicated Infrastructure - Version N/A and later
Information in this document applies to any platform.

Symptoms

Customer enabled Data Guard for Autonomous database as part of Disaster Recovery Setup so that in case of a disaster, the database would automatically failover to the Remote instance.

Apex application configured using the IDCS for the SSO authentication. 

During the switch over to the primary, When the application is changed  back to Primary, the SSO on APEX URL isn't working anymore.

The request is getting failed with the following error.

 

{"error": "invalid_redirect_uri","error_description": "Client <CLIENT_ID> requested an invalid redirect URL:  https:/<Hostname>/ords/apex_authentication.callback. ECID: <ecid_id>}

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
Cause
Solution


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