Troubleshooting "Missing Auth Code" during OAuth Login

Q: Why do I receive a "Missing Auth Code" error when logging into the digiRunner Admin Console via OAuth?

(Keywords: OAuth 2.0, Login Error, Admin Console, Missing Auth Code, AC_IDP_ACCALLBACK_URL)

A: This error typically occurs when the callback URL configuration in the system settings is incorrect. If the URL is not configured precisely, the Admin Console cannot receive the expected authorization code from the identity provider.

To resolve this, you must verify the AC_IDP_ACCALLBACK_URL setting.

1. Check the Root Cause

Navigate to System Configs > Setting in the Admin Console. Locate the parameter named AC_IDP_ACCALLBACK_URL. This is the critical setting for Admin Console logins.

2. Apply the Correct Configuration

Ensure the value matches the following format exactly:

https://[your-ip]:[your-port]/dgrv4/ac4/idpsso/accallback.

3. Avoid Common Mistakes

  • Wrong Endpoint: Do not use a URL pattern ending in /dgrv4/ssotoken/acidp/.../acldPCallback. That format is incorrect for this specific setting.

  • Confusing Parameters: Be careful not to confuse AC_IDP_ACCALLBACK_URL with other fields like dgR Callback URL. They serve different purposes.

Last updated

Was this helpful?