With this token I can access rest services of 8081 app but can’t access 8082(Service Provider ) app.It says “Invalid access token”.
Here is web-app.propertis for both apps:
For IDP ticket, we made idpticket always valid (in cuba, idpticket will be invalid after been used).
Then we found that for each SP, frontend should use different idp token. So we stopped use idp token.
We made some change like “share token”, it has no relation with any idp feature. Our change is: let’s say server B can use server A’s token, as cuba can save token in database, so while server B get a request, after validation token fails, server B will check server A’s database to fetch the token info, and store it in server B’s database. Then goes cuba logic.