I have an embedded app and I’ve added new scopes to my app, so I need to redirect the user to auth grant URL to confirm those.
I do this by comparing the scopes and if they don’t match I do res.redirect(“/api/auth”);
But on the frontend I get a CORS error.
I’ve tried using cors package in the backend, but no results.
Also, seen that for embedded apps we need to use App Bridge Redirect. Which didn’t do anything for me. So what else can I do ?