I have a few questions as I try and wrap my head around authentication.
- Does OAuth always involve Products? Various parts of the tutorial seem to suggest that the answer might be:
a): No, because it says: “You can create OAuth clients on behalf of your Particle user (to interact with devices your account has claimed), or on behalf of a Particle product (to interact withe devices in the product fleet).”
b) Yes, because it seems to leave no wiggle room here: “You will create your OAuth client using the Authentication view in your product’s Particle console. For info on how to find the Authentication page and create a client, …”
In a), is the “Particle user” equivalent to customer? Or is customer only used when talking about products?
Also, if a) is correct, is that the reason there are two places where you can create clients in the console – one at the top level, the other within a product?
Finally, when the write productIdOrSlug, what’s a slug?
Thanks for any info,