Hi,
My system using IDP, I have IDP userCenter, and a business server which using the IDP login of userCenter.
I am testing using Postman, I can get a token from ucenter using /oauth/token; and I want to use this token to run POST api of business server, but the business server seems does not recoganize the token.
I change authorization to bearer token, still fails(entered a new token this time)
My updates 6th time:
I use IDP url to get token, and use it on service provider url, not successful.
I tried to get token directly from service provider url, it is sucessful.
But service provider should acknowlege the token get from IDP url, no? Or how to?
Thanks Yuriy.
Are you talking about Cuba latest version like 6.8 or 6.9? I am using 6.6.4. I heard that there are big difference reagarding idp in Cuba new version, so I did not upgrade my project to cuba latest version, my project rely much on old idp solution.
rest/v2/idp/login does not work in my project with http 404 error.
rest/v2/oauth/token works in my side, and I can invoke rest api with the token returned by rest/v2/oauth/token.
By the way, there were no big differences in IDP but in Login subsystem. If you have not extended LoginService there must be no breaking changes for you. So, I’d recommend that you try to update your project with Studio and see how it goes.