fix(api): 🐛 Only decode URI, not full URI component, in application's redirect_url

This commit is contained in:
Jesse Wierzbinski 2024-09-04 23:31:58 +02:00
parent 53184bbe99
commit d63196b5ee
No known key found for this signature in database
4 changed files with 6 additions and 11 deletions

View file

@ -303,7 +303,7 @@ export default (plugin: PluginType) =>
redirectUri.searchParams.append("code", code);
state && redirectUri.searchParams.append("state", state);
return context.redirect(encodeURI(redirectUri.toString()));
return context.redirect(redirectUri.toString());
},
),
);