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

No return during interactive authentication with connectivity issues #1995

Open
vitor-desouza opened this issue Feb 9, 2024 · 1 comment
Assignees
Labels

Comments

@vitor-desouza
Copy link

Hi team,

I am simulating some connectivity issues like no internet connection and 100% packet loss in our iOS app, however I am not getting any callback from acquireToken method when facing these issues after credentials have been granted and the app remains in infinite loading.

I only had this problem after the pages were fully loaded, when I start loading these pages without an internet connection for example, I receive the callback normally. I tried some workarounds to track down these scenarios, like overriding the navigationDelegate property of the custom WebView we are using, but I got some assertion errors.

Is there any configuration that impacts this behavior or can I set a timeout for the authentication process?

@ameyapat ameyapat self-assigned this Feb 15, 2024
@ameyapat
Copy link
Contributor

@vitor-desouza Could you elaborate your use case? I'm assuming you are calling to acquire token interactively. In your simulation at what point are you killing the internet connection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants