Closed jindrichkuba closed 1 year ago
Hi @jindrichkuba ,
I'll do my best to help you resolve this issue; I just have some questions to help us pinpoint what might be happening.
Hi @wrobins , thanks for trying to help me
1) I did now
To Native Cordova -> MsalPlugin getAccounts MsalPlugin563336026 ["options": []]
2) IOS version 16.1.2, model iPhone XR
3) To Native Cordova -> MsalPlugin signInSilent MsalPlugin563336027 ["options": [
⚡️ [log] - {} ⚡️ [info] - [] ⚡️ [info] - No accounts found on device.
4) signInInteractive() is working fine, but we have requirements to sign user without any interaction, but is not possible
export const options = { authorities: [ { audience: 'AzureADMyOrg', authorityUrl, }, ], accountMode: 'MULTIPLE', scopes, clientId, tenantId, };
Are you able to try the following steps with logging enabled and post the console (or other; modify this code if you're logging to somewhere other than the Javascript console)?
cordova.plugins.msalPlugin.startLogger(function(entry) {console.log(entry);}, function(err) {console.error(err);}, false, 'VERBOSE');
Again, modify for your needs, but be sure to keep that third parameter in startLogger() as false so you don't paste any PII here.
thanks, the issue was missing correct Keychain Groups com.microsoft.adalcache
Hello, I am not able to use signInSilent() method for IOS, do you know why? Looks like doesnt work and also I am not able to get any account. getAccounts() give me empty response for IOS.