Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing 2 refresh tokens in key vault after CSP consent for my CPV app. #16

Open
codeayra opened this issue Aug 1, 2019 · 0 comments
Open

Comments

@codeayra
Copy link

codeayra commented Aug 1, 2019

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.

@codeayra codeayra changed the title Seeing 2 refresh tokens after partner consent Seeing 2 refresh tokens in key vault after CSP consent for my CPV app. Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant