Hello, a workflow that used to work now returns th...
# ask-a-descoper
y
Hello, a workflow that used to work now returns the following error, who can assist with this issue?
Copy code
{
  "errorCode": "E061004",
  "errorDescription": "Unauthorized request",
  "errorMessage": "Redirect URL does not match the approved redirect urls for this third party application",
  "message": "Redirect URL does not match the approved redirect urls for this third party application"
}
👀 1
a
Hi @Yehonatan Tsirolnik Please DM me your projectId.
👀 1
@Yehonatan Tsirolnik Also can you please check once ? are there any recent changes to your redirectURL?
y
Replied to you in DM @Akash Jivane thanks
👍 1
a
I have gone through the logs and I can see the few other errors as well.
[E061003] Redirect URL does not match the approved domain list
The URL is not added in approved domain list and that is the main reason the flow is also running through the same url and throwing this error -
Flow is running from non-approved domain
Can you please verify this once ?
d
@Yehonatan Tsirolnik we understand the problem. For localhost redirects, claud returning the following approved callbacks. But the redirect url is with a port, hence there is a miss match. We are checking that.
Adding @Eliya Sadan and @Tal Aharoni
t
@Yehonatan Tsirolnik we added support for that use case. Please let us know if you still encounter the issue 🙏
y
Thank you @Doron Sharon @Tal Aharoni Now it also doesn't redirect to the configured flow on top of ignoring the wildcarded domains/approved URLs
t
Hi @Yehonatan Tsirolnik can you explain in more details what is the current state?
y
OAuth flow for MCP is completely broken, without any known change on our side. It sometimes doesn't work completely with the error above or redirects to a default Descope flow we have not set as selected (inbound-apps-user-consent)
Used to work just fine
t
Do you want to do a short session?
y
Yes please thank you
Would 12:30 work?
t
Yes. i'll send an invite. Please meanwhile share the projectID you are using
y
P2ryxcA0H1JrxF9TCKjSraUYaVzD
👍 1