LinkedIn Custom social connection

How can i add a custom linkedin social connection if anyone can guide me

The Error i get is this
{ "error": "invalid_request", "error_description": "Unauthorized" }

The scopes i have put are the ones which are on the linkedin developer portal

Hi there!

Welcome to the Auth0 Community!

Thank you for posting your question. Can you check our Knowledge Solution regarding setting up the custom connection linking → LinkedIn Login Fails with Error “Scope "r_emailaddress" is not authorized for your application”. This should solve your issue.

Thanks
Dawid