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

GetAccountsAsync is returning o accounts and AcquireTokenSilent is not returning token. #177

Open
kiranbasvaraj opened this issue May 26, 2022 · 0 comments

Comments

@kiranbasvaraj
Copy link

kiranbasvaraj commented May 26, 2022

We have two Xamarin Forms projects example App1 and App2.
1.In App1 a user is logged in using [email protected].
2.In App2 we are implementing single sign-on(SSO) and we are using same ClientId,Keychain,AuthoritySignIn,RedriectURL,Extraparm in PublicClientApplicationBuilder builder method which were used in App1 aslo.
Issue: in App 2 GetAccountsAsync is returning o accounts and AcquireTokenSilent is not returning token.

Expected behavior: in App 2 GetAccountsAsync should return the account that was signed in App1 and AcquireTokenSilent should return the token.

NOTE:
In the IOS app, this is working as expected in the simulator but failing in a real physical device
In android, both are not working.

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