Android SDK with PCKE

Hi There,

In https://auth0.com/docs/flows/concepts/auth-code-pkce it said The easiest way to implement the Authorization Code Flow with PKCE is to follow our Mobile/Native Quickstarts. so I followed https://auth0.com/docs/quickstart/native/android but got com.auth0.android.authentication.AuthenticationException: Could not verify the ID token error.

Here is my config:

WebAuthProvider.login(auth0)
    .withScheme("https")
    .withAudience(String.format("https://%s/userinfo", getString(R.string.com_auth0_domain)))
    .start(this, loginCallback);

Thanks

Hey there @wahaha!

In order to handle that most effectively it will be great if you can open a GitHub issue in the quickstart repo so that we can work on it with the tool maintainers directly. Once you have it make sure to share the link here so we can ping them. Thank you!

Thanks @konrad.sopala

Here is the issue https://github.com/auth0-samples/auth0-android-sample/issues/83

1 Like

Perfect! Thanks a lot for that. I just pinged repo maintainers about that!

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