We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b7f81 commit c7f5234Copy full SHA for c7f5234
packages/esignet-mock/src/index.ts
@@ -194,8 +194,9 @@ app.get("/authorize", {
194
.replace(/{{state}}/g, request.query.state)
195
.replace(/{{redirect_uri}}/g, request.query.redirect_uri);
196
197
+ /** See `packages/mosip-api/src/esignet-api.ts` for `redirect_uri: redirectUri?.split("?")[0] ?? redirectUri` to understand the matching of this */
198
/** @see VALID_REDIRECT_URIS for explanation */
- VALID_REDIRECT_URIS.push(request.query.redirect_uri);
199
+ VALID_REDIRECT_URIS.push(request.query.redirect_uri.split("?")[0]);
200
201
return reply.type("text/html").send(modifiedHtml);
202
},
0 commit comments