Help w/ Microsoft B2C API for Cummins Cloud Connect Generators?

So I am trying to create a custom component to pull the data from my standby generators. I have used MITMProxy to pull the traffic from the IOS app and recreated the calls in python. I cannot seem to get anything beyond 400 Bad Request when I try to login though. Anyone able to help me through this? Once I get the login working the rest is easy as the frontend uses JSON calls to pull the data. I just need the login so I can get the CSRF/Bearer token.

I was able to make a working setup by using Playwright to “automatically” login and pull the data that way. It’s just not nearly as efficient.

Any help?

2 Likes