active-directory-b2c-xamarin-native
active-directory-b2c-xamarin-native copied to clipboard
GetAccountsAsync is returning o accounts and AcquireTokenSilent is not returning token.
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.