Hello, I would like to clarify me how to use the Android SDK (cloud and setup) when it is implementing “two leggued authentication”. I have my own backend (using OAuth credentials of a client) to create and store customers access token. All this following the guide https://docs.particle.io/guide/how-to-build-a-product/authentication/#two-legged-authentication.
Now I’m building the mobile application using the SDK. The login of the mobile application is made against my own server. Once the client is logged the idea is to use the SDK for capturing variables, call functions and configure devices. Reading the documentation you need to create the strings which specifies “oauth_client_id”, “oauth_client_secret”, “organization_slug” and “product_slug” but How I can log into the Particle cloud with the SDK? I ask this because the method requires password eg particleCloud.logIn ("firstname.lastname@example.org", “l33tp4ssw0rd”);. When the customer is created in this type of authentication is not created with password:
I think I’m misinterpreting something?
Thank you for your help