Good day. I am trying to create a batch job in Java to synchronize contacts between my database and Constant Contact database. Below are the four steps to get the token (this is what I get through Postman). Step #2 responds with a login page, which invokes step #3 upon successful authentication. How can I get a token without the login page? 1) GET https://authz.constantcontact.com/oauth2/default/v1/authorize?response_type=code&client_id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&state=123456789&scope=contact_data&redirect_uri=https%3A%2F%2Flocalhost%3A8888 302 2) GET https://identity.constantcontact.com/oauth2/aus1lm3ry9mF7x2Ja0h8/v1/authorize?response_type=code&client_id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&state=123456789&scope=contact_data&redirect_uri=https%3A%2F%2Flocalhost%3A8888 200 3) GET https://identity.constantcontact.com/login/step-up/redirect?stateToken=gggggggggggggggggggggggggggggggggggg 302 4) POST https://authz.constantcontact.com/oauth2/default/v1/token Thank you.
... View more