I’m trying to implement two-legged authentication with my nodejs server and my android app. I was able to create a new customer for my organization by making this call (example):
curl -X POST -u "client-id-goes-here:client-secret-goes-here" -d firstname.lastname@example.org \ -d no_password=true https://api.particle.io/v1/orgs/particle/customers
And from the response I get the customer’s accessToken. Good. Two questions:
- What if my customer is logging in instead of signing up? How do I get an access token for an existing customer in my organization?
- In the dashboard, I can’t see the customers I created.