decioferreira / omniauth-linkedin-oauth2

A LinkedIn OAuth2 strategy for OmniAuth.
MIT License
117 stars 147 forks source link

Lots of Authentication failure! invalid_credentials: OAuth2::Error errors #81

Open pjg opened 4 months ago

pjg commented 4 months ago

We're seeing a lot of such errors. They are seemingly random. I can authenticate with LinkedIn, log out from my app and then try to log back in using LinkedIn OAuth to see this error:

E, [2024-07-31T12:48:31.695299 #2477] ERROR -- omniauth: (linkedin) Authentication failure! invalid_credentials:
OAuth2::Error, {"status":401,"serviceErrorCode":65601,"code":"REVOKED_ACCESS_TOKEN",
"message":"The token used in the request has been revoked by the user"}

Anyone else is seeing this? I think it is something on LinkedIn side, but cannot be 100% sure.

I have even created a new LinkedIn app and switched to use omniauth-linkedin-openid, but those errors still persist.

frunkad commented 4 months ago

Related to https://github.com/decioferreira/omniauth-linkedin-oauth2/issues/17