propro-utils 1.7.24 → 1.7.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.7.24",
3
+ "version": "1.7.26",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "private": false,
@@ -168,7 +168,7 @@ class AuthMiddleware {
168
168
 
169
169
  await setAuthCookies(res, tokens, account, user, this.options.appUrl);
170
170
 
171
- res.redirect(formatRedirectUrl(this.options.redirectUri));
171
+ res.redirect(formatRedirectUrl(this.options.appUrl));
172
172
  } catch (error) {
173
173
  console.error('Error in callback:', error);
174
174
  res.status(500).send('Internal Server Error');