fix keycloak missing resource error check#69028
Conversation
72a2abf to
ebc208e
Compare
84b07f0 to
24b997b
Compare
|
Tagging @onlyarnav here, you are modifying the constant |
|
@vincbeck Updating the constant should be fine as its only used with this function |
|
@vincbeck @onlyarnav I've updated the PR to check against the |
|
You really seem to override what @onlyarnav did, I'd like him to review it |
|
Thanks for the update! I just had a look at it. My PR handled the error based on the original issue, where the response appeared to be a plain text string ( From what you've shared, checking the structured JSON response via My only question is whether the original plain-text |
7af4a2a to
474b647
Compare
Fix Auth manager check for keycloak 'resource not found' error
The error raised by keycloak that should be handled is
{"error":"invalid_resource", "error_description": "Resource with id [Dag:team-a] does not exist."}Sample log:
related: #68943
related: #68951
Was generative AI tooling used to co-author this PR?