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

Issue with auth flow on Android #3

Open
uxkjaer opened this issue Nov 16, 2022 · 1 comment
Open

Issue with auth flow on Android #3

uxkjaer opened this issue Nov 16, 2022 · 1 comment
Assignees

Comments

@uxkjaer
Copy link

uxkjaer commented Nov 16, 2022

I’m building an app where I’m implementing an oauth flow via PKCE for BTP UAA. I’m using the webview to open the initial login page and then the onLocationChange event to check when I receive the code back after a successful login. This works fine on iOS. But on Android (Samsung S22) it hangs for a very long time and eventually fire. I initially thought it was an endless loop, but that doesn’t seem to be the case. I tried to use google and then after a delay to route to bing. This works fine.
So for some reason it stops firing the event on android.

Any ideas?

@jmsrpp jmsrpp self-assigned this Nov 29, 2022
@jmsrpp
Copy link
Contributor

jmsrpp commented Nov 29, 2022

Hi @uxkjaer, thanks for raising an issue in our repo. I don't know offhand what could be causing this issue with Android, but would suggest utilizing the debugger or outputting the values of the JS to your console log. We will need to triage which step in the process is breaking down to pinpoint the problem.

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

2 participants