Merged PR 1550: signin in fix

signin in fix

Related work items: #12956
This commit is contained in:
Robert Bond
2025-04-09 13:00:13 +00:00
+7 -1
View File
@@ -182,7 +182,13 @@ export async function getServerSideProps(context) {
return toUrlObj.toString(); // Return the full new URL as a string
};
formURL = appendParamsAndPathToNewUrl(context.query.callbackUrl, formURL);
typeof context.query.callbackUrl != "undefined" &&
(formURL = appendParamsAndPathToNewUrl(
context.query.callbackUrl,
formURL
));
//formURL = appendParamsAndPathToNewUrl(context.query.callbackUrl, formURL);
const url = new URL(formURL); // base URL