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 exchanging session token, for access Token android devices #366

Open
Shooksie opened this issue May 26, 2023 · 0 comments
Open

Issue exchanging session token, for access Token android devices #366

Shooksie opened this issue May 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Shooksie
Copy link

Shooksie commented May 26, 2023

Describe the bug?

I recently started helping a client of mine with a mobile application, and they have the Okta SDK implemented.
We are noticing a weird behavior with the SDK, on Android a lot of users can't login, this behavior is not consistent. Sometimes they are able to login, but a lot of times they are not.

After enabling more logs, we are noticing the issue mainly stems from exchanging the session token for an access token, with the android devices only.

On ios this issue does not occur on android it does pretty frequently, since this app is in production we are seeing this behavior with thousands of android users. We have currently, switched to the token api for android only, so we can allow those users to login, but we would like to understand what could be happening here, as the SDK has better error handling and simplifies token management.

I have checked everything from configuration to logs, and can't figure out the specific android issue. My specific java knowledge is mediocre, I only have enough knowledge to wire up a module. I am not able to capture the android logs as the users are in production but I can provide the JS error logged. Any help or support or similar reports on this issue that were addressed would greatly help me solve this problem for the client and the thousands of users who are facing this issue.

What is expected to happen?

When getting a session token is successful getting an access token shouldn't error out

What is the actual behavior?

Android users get the session token successfully. But upon generating the access_token it completely fails.

Reproduction Steps?

Login with the android sdk on a later model samsung or android device, and try generate a token. I can provide the scopes requested if needed

Additional Information?

No response

SDK Version

2.8.0

Build Information

No response

@Shooksie Shooksie added the bug Something isn't working label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant