Daniel Carneiro

Results 26 comments of Daniel Carneiro

Coded a workaround for azure b2c logout, while this feature is not completed: ```typescript //(...) import { Plugins } from '@capacitor/core'; const { Browser } = Plugins; //(...) const urlLogout...

It does work for me, its not a definitive fix though

The workaround works for azure b2c, not sure about other types of logins. I have made a repo that is working for logins, I have not impletemented there this workaround,...

@tobium you tried in IOS Right? Seems to work on the IOS emulator but not on the device :( . Android works fine on my phone. Workaround only for android...

After some digging I found this, not sure if it will help to develop this feature. If I knew how to implement it I would. https://github.com/Azure-Samples/active-directory-b2c-ios-native-appauth/issues/6

@tobium I was able to logout with IOS but had to increase the timeout specifically for IOS. `const urlLogout = https://${environment.tenantName}.b2clogin.com/tfp/${environment.tenantName}.onmicrosoft.com/${environment.signInPolicy}/oauth2/v2.0/logout?client_id=${environment.clientID}&response_type=token&redirect_uri=${environment.redirectUrl}&scope=openid%20offline_access%20https://XXXX.onmicrosoft.com/api/demo.read;` ``` // Workaround to get IOS logout if(Capacitor.platform ===...

https://github.com/loonix/capacitor-oauth2-azure-example Check my repo, and the readme file and see if it helps.

That would be great, any plans on adding this feature?

https://pub.dev/packages/another_audio_recorder

can this be merged please?