You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumped in a LinkedIn login failure today where log seemed like that:
1 validation error for UserSignUp\nusername\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.9/v/string_type
I dug a bit more and it is not a pydantic issue.
The problem is coming from LinkedIn response that openid_from_response receives. Most of the times I tried, this response printed out like that:
{'status': 401, 'serviceErrorCode': 65601, 'code': 'REVOKED_ACCESS_TOKEN', 'message': 'The token used in the request has been revoked by the user'}
I searched a bit the error online and it appears that others have same issues with other libraries etc.
Also sometimes the whole thing still works, sometimes it doesn't.
It smells like a problem in LinkedIn API rather than this library, but leaving it here for future references at least, if not some workaround mechanism to deal with it.
The text was updated successfully, but these errors were encountered:
Hey there @tomasvotava , I do not monitor this as I don't really use LinkedIn SSO anywhere but the demo site, but I tried just now again and it was 7/10 failures..
Bumped in a LinkedIn login failure today where log seemed like that:
I dug a bit more and it is not a pydantic issue.
The problem is coming from LinkedIn response that
openid_from_response
receives. Most of the times I tried, this response printed out like that:It smells like a problem in LinkedIn API rather than this library, but leaving it here for future references at least, if not some workaround mechanism to deal with it.
The text was updated successfully, but these errors were encountered: