Commits

Andreas Knecht  committed 230472c

Oops. Now using the correct Crowd REST API call to retrieve groups.

  • Participants
  • Parent commits fc61f3f

Comments (0)

Files changed (2)

File lib/passport-atlassian-crowd/strategy.js

                 var groupRequest = http_library.get({
                     host:parsedUrl.hostname,
                     port:parsedUrl.port,
-                    path:parsedUrl.pathname + "/rest/usermanagement/latest/user/group/direct?username=" + username,
+                    path:parsedUrl.pathname + "/rest/usermanagement/latest/user/group/nested?username=" + username,
                     headers:{
                         "Content-Type":"application/json",
                         "Accept":"application/json",

File package.json

 {
   "name": "passport-atlassian-crowd",
-  "version": "0.0.1",
+  "version": "0.0.2",
   "description": "Password authentication strategy using Atlassian Crowd for Passport",
   "author": { "name": "Andreas Knecht", "email": "knecht.andreas@gmail.com"},
   "repository": {