propro-utils 1.4.9 → 1.4.10

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.9",
3
+ "version": "1.4.10",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -101,6 +101,9 @@ function proproAuthMiddleware(options = {}, userSchema) {
101
101
  .json({message: 'Token refreshed successfully'});
102
102
  }
103
103
 
104
+ console.log('req.path', req.path);
105
+ console.log('req.query', req.query);
106
+ console.log('authUrl', authUrl);
104
107
  if (req.path === '/api/callback') {
105
108
  const code = req.query.code;
106
109
  if (!code) {