propro-utils 1.4.6 → 1.4.7

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.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -163,6 +163,7 @@ function proproAuthMiddleware(options = {}, userSchema) {
163
163
  * @return {string} The constructed redirect URL.
164
164
  */
165
165
  function constructRedirectUrl(clientUrl, appName, clientId, redirectUri) {
166
+ console.log('constructRedirectUrl', clientUrl, appName, clientId, redirectUri);
166
167
  return `${clientUrl}/signin?response_type=code&appName=${appName}&client_id=${clientId}&redirect_uri=${encodeURIComponent(redirectUri)}`;
167
168
  }
168
169