Android SDK with PCKE

Hi There,

In Authorization Code Flow with Proof Key for Code Exchange (PKCE) it said The easiest way to implement the Authorization Code Flow with PKCE is to follow our Mobile/Native Quickstarts. so I followed Auth0 Android SDK Quickstarts: Login 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 Android SDK with PCKE · Issue #83 · auth0-samples/auth0-android-sample · GitHub

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.