Okay, thanks, I was really missing the ...orgname/apps/appname part.

Now this is what I got back. Does it show anywhere, that the attribute was set?
{
  "action" : "get",
  "application" : "9469c53d-ccfd-11e5-94e3-d9066f355271",
  "params" : { },
  "uri" : "http://localhost:8080/orgname/appname";,
  "entities" : [ {
    "uuid" : "9469c53d-ccfd-11e5-94e3-d9066f355271",
    "type" : "application",
    "name" : „orgname/appname",
    "accesstokenttl" : null,
    "applicationName" : „appname",
    "organizationName" : „orgname",
    "created" : 1454782519342,
    "modified" : 1454782519342,
    "metadata" : {
      "collections" : {
        
        "devices" : {
          "count" : 607,
          "name" : "devices",
          "type" : "device",
          "title" : "Devices"
        },
        "activities" : {
          "count" : 3649,
          "name" : "activities",
          "type" : "activity",
          "title" : "Activities"
        },
        "roles" : {
          "count" : 3,
          "name" : "roles",
          "type" : "role",
          "title" : "Roles"
        },
        "users" : {
          "count" : 643,
          "name" : "users",
          "type" : "user",
          "title" : "Users"
        }
      }
    }
  } ],
  "timestamp" : 1484146729643,
  "duration" : 13,
  "organization" : „orgname",
  "applicationName" : „appname"
}
One thing at least has changed: When I create a new user in my app, the app 
cannot access this new user directly anymore. So, it seems to create new users 
„deactivated“ - even though when i search for the user via usergrid portal 
shell, i can find it and it says „activated“: true

also, I don’t receive activation email. Do you have any idea?

thanks again!

Chris.

> Am 11.01.2017 um 15:55 schrieb Darius Ciupe <[email protected]>:
> 
> Hi again !
> 
> 
> My guess is that you messed up the url. The pattern is :
> 
> http://127.0.0.1:8080/management/orgs/ 
> <http://127.0.0.1:8080/management/orgs/><YOUR_ORG>/apps/<YOUR_APP>?access_token=XXXXX
> 
> 
> Your example:
> http://127.0.0.1:8080/ 
> <http://127.0.0.1:8080/>management/orgs/org/appname?access_token=XXXXXX
> 
> You didn't put /apps before your appname. Try this:
> http://127.0.0.1:8080/ 
> <http://127.0.0.1:8080/>management/orgs/org/apps/appname?access_token=XXXXXX
> 
> 
> On Wed, Jan 11, 2017 at 10:24 AM, Darius Ciupe <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi
> To use email confirmation you must update a property in your application:
> 
> 
> PUT  http://localhost:8080/management/orgs/ 
> <http://localhost:8080/management/orgs/><your-org>apps/<your-app>
> 
> {
>      "registration_requires_email_confirmation": true
> }
> 
> 
> You must also set the url for email confirmation in 
> usergrid-deployment.properties:
> usergrid.user.confirmation.url=...
> 
> Hope this helps you !
> 
> 
> 

Reply via email to