question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since updating to 0.8.0, the following error occurs when logging in with Google:

AuthorizationException: {"type":0,"code":9,"errorDescription":"Invalid ID Token"}
        at net.openid.appauth.IdToken.validate(IdToken.java:193)
        at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute(AuthorizationService.java:690)
        at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute(AuthorizationService.java:562)
        at android.os.AsyncTask.finish(AsyncTask.java:755)
        at android.os.AsyncTask.access$900(AsyncTask.java:192)
        at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
     Caused by: net.openid.appauth.IdToken$IdTokenException: Nonce mismatch
        at net.openid.appauth.IdToken.validate(IdToken.java:193) 
        at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute(AuthorizationService.java:690) 
        at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute(AuthorizationService.java:562) 
        at android.os.AsyncTask.finish(AsyncTask.java:755) 
        at android.os.AsyncTask.access$900(AsyncTask.java:192) 
        at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772) 
        at android.os.Handler.dispatchMessage(Handler.java:107) 
        at android.os.Looper.loop(Looper.java:214) 
        at android.app.ActivityThread.main(ActivityThread.java:7356) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 

Updated from 0.7.1, made no other changes to the code. Any ideas?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
agologancommented, May 27, 2021

Details available in README.md

0reactions
carstenhagcommented, May 25, 2021

Please close this issue, as previously commented there are now ways to disable nonce & https verification checks

Read more comments on GitHub >

github_iconTop Results From Across the Web

"RPError: nonce mismatch, expected undefined, got: ..." error ...
I am using openid-client in a Remix app to do Authorization Code Flow with Amazon Cognito, closely following the walkthrough in the README ......
Read more >
"Nonce mismatch" in Ping Access Log
When you see this error, basically what is happening is that your server sets sets a nonce cookie prior to authentication (generally with...
Read more >
Nonce mismatch in OpenID Connect Enterprise Connections
I created a new OpenID Connect provider in the “Connections > Enterprise > OpenID Connect” menu. When I try to login using my...
Read more >
NextAuth + AWS Cognito - message: 'nonce mismatch ...
I'm using nextjs 12.1.6 , nextauth ^4.5.0 , cognito to create social sign ins. After successful sign in on the cognito Hosted UI...
Read more >
client nonce mismatch and instance meta-data incorrect is ...
if we use different nonce's per task then we get a "client nonce mismatch" error if the same machine asks for a token...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found