Android - "Invalid discovery document"

I was able to checkout the code in the okta-sdk-appauth-android repro and populate the values in:
…\okta-sdk-appauth-android\app\src\main\res\raw\okta_app_auth_config.json

When I launch the app, my breakpoint lands inside LoginActivity’s mOktaAppAuth.init()'s onTokenFailure(@nonnull AuthorizationException ex)

Inside the AuthorizationException, the errorDescription = “Invalid discovery document”

In detail, it looks like this AuthorizationException: {“type”:0,“code”:0,“errorDescription”:“Invalid discovery document”}

What do I need to do to get my OktaAppAuth instance initialized?

Hey @Mark! Looks like we addressed this here. Can you please let us know if you’re seeing this issue?

Seems to be working now.

One reason for this is not having Permission Internet access in the manifest.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.