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.

Error on getting userinfo

See original GitHub issue

Hi,

I’ve just downloaded your code to learn about go and jwt. When trying to access the userinfo api i received a message, that I could not figure what is the problem. I hope you can help me undestand:

[negroni] PANIC: interface conversion: interface {} is nil, not *jwt.Token

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
blogscotcommented, Apr 24, 2019

I’ve seen this exact same issue. In my case, I’d used go modules to pull down the dependencies. After much debugging I eventually discovered that the version of JWT middleware I was using wasn’t the latest! I had somehow managed to grab a version from 2016-04

v0.0.0-20160421215738-f3f7de3b9e39

After coaxing go modules to get the latest version from 2017-04

v0.0.0-20170425171159-5493cabe49f7

the problem I was having with getting userinfo was resolved.

0reactions
markchenocommented, Jun 29, 2017

I’m sorry, without more information, I can’t tell what the problem is. I was able to duplicate your error, but it is now fixed for me. Perhaps try a “go get -u ./…” in the project root. Then restart everything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ErrorType and userInfo dictionaries | Apple Developer Forums
NSError has a way to carry additional information around with it: the userInfo dictionary. This includes user-facing information like the localized ...
Read more >
Unauthorized error when hitting the userinfo endpoint
Update: I am getting this error when I have the user-info-uri property in the configuration and if removed, the endpoint is accissible.
Read more >
Unable to get userinfo returns 400 bad request
I have been trying to battle with this issue, I verified that I do have "openid" scope as part of my JWT authorization...
Read more >
UserInfo endpoint - Amazon Cognito
The userInfo endpoint is an OpenID Connect (OIDC) userInfo endpoint . It responds with user attributes when service providers present access tokens that ......
Read more >
Error while getting user info for application - BMC Communities
Error while getting user info for application : AtriumCMDBConsole. Please help me. i have a problem when connect to atrium cmdb through mid...
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