We recently moved a Constellation‑based application to Prod and have started noticing an intermittent issue when users attempt to open a case.
In some instances, clicking the case link triggers an unexpected Pega login popup, but selecting “Login” does not progress further and the case fails to open. Interestingly, pressing Tab followed by Enter allows the case to open successfully, though the behavior is sporadic and not consistent across all users.
A similar issue had been observed in lower environments but seemed to resolve itself over time. I have verified the relevant Constellation DSS settings and they appear correctly configured.
During troubleshooting, I also found the following error in the logs: “Access token validation failed” with HTTP Status Code 401 under the OAuth 2.0 category for PegaRULES.
Has anyone else encountered this combination of unexpected login popup and OAuth 2.0 access token validation failure?
Any guidance on which logs or configurations to check, or whether this is a known issue, would be greatly appreciated.
@Will_Cho I have 2 OAuth profiles one for the traditional app and the other for the constellation application. Adding the above mentioned only in constellation helps?
@Tharun_K_T For us, the OAuth 2.0 Client Registration rule was auto generated by the system when we imported a BluePrint file to build the application. I just updated the existing rule.
@NaganandShenoy@Tharun_K_T this was the Pega support ticket that we raised to get the solution above for our client: INC-D4790
In case you need to raise an INC, I suggest referring it.
From the resolution comment in the ticket:
The issue was resolved by updating the OAuth2 client registration rule instance by following one of the following steps:
Set Token issuance to Issue a new refresh token and reset expiry
Disable Set refresh token expiry from IDP session expiry - When this is enabled (by default), the system ignores the value set for Refresh token lifetime (in seconds) in the Token expiry section and gets the value from the IDP. There can be use cases where IDP is not sharing refresh token during authentication phase or SSO might have not been implemented and the defaulted timeout is too short.
@Will_Cho Thanks for the info, I could see this config was missed in prod, i have implemented. I will monitor a time. If it still persists will for a Pega Support ticket