Hey there @nniklas welcome to the community!
Sorry for the delayed response here - Are you still experiencing this issue? Have you enabled the “Sign in with LinkedIn using OpenID Connect” product to your LinkedIn application in the LinkedIn developer portal?