I am using following sample to give consent from my CSP
https://github.com/microsoft/Partner-Center-Java-Samples/tree/master/secure-app-model/keyvault/partnerconsent
When I run this sample and I give consent to CPV app from my CSP login, sometimes I see 2 refresh tokens in azure key vault, 1 for partner tenant and other for CPV tenant, but sometimes only 1 is created for partner tenant.
Why I am seeing refresh token for CPV tenant?
What I am suspecting is the above problem may be due to this:
When I have multiple chrome window open and in one of this window I have logged in with CPV account, I assume it takes taht login as well as in consideration though while giving consent I choose my CSP account.
I am using following sample to give consent from my CSP
https://github.com/microsoft/Partner-Center-Java-Samples/tree/master/secure-app-model/keyvault/partnerconsent
When I run this sample and I give consent to CPV app from my CSP login, sometimes I see 2 refresh tokens in azure key vault, 1 for partner tenant and other for CPV tenant, but sometimes only 1 is created for partner tenant.
Why I am seeing refresh token for CPV tenant?
What I am suspecting is the above problem may be due to this:
When I have multiple chrome window open and in one of this window I have logged in with CPV account, I assume it takes taht login as well as in consideration though while giving consent I choose my CSP account.