ibmsbt - Error while getting acess token from IBM Connections -


I'm able to get the authorization token, but there is an error in access token, now I'm doing

1. Get the code:

https: // {host} / oauth2 / endpoint / connectionsProvider / authorize? Response_type = code and client_id = sample_application and redirect_uri = http: // {host}

I got something back like this:

http: // {host} /? Code = XMQPNpxCxkRCfixMFbWiTQVD4PcM11

2. Try to use the use token: POST method:

https: // {host} / oauth2 / endpoint / connectionsProvider / token? Grant_type = authorization_code and redirect_uri = http: // {host} and client_id = Sample_Application and Client_screw = PIEAHOQ6Ads 0VR9FKTMSNGQFUUGDL2IJHS 38k A7TGGD2NN3RCSL2BEI

With payload data: code = XMQPNpxCxkRCfixMFbWiTQVD4PcM11

In the second step only I get the error

- WillSTEL

The problem was solved that the title we were sending was MediaTap. Appliance_JSON, but the token and point API mediatype APILICADAARAAMAADODD is expected, hence the work of Oath Flow was changed by changing the header.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -