I'm trying to add LinkedIn login to my react app that using Amazon Cognito, I did everything like explained here and yes it works but I'm not using Amazon Cognito hosted UI and I don't want my user to get redirected to Auth0 site to login with LinkedIn...
Is there any way to implement LinkedIn Cognito login\signup without getting redirected to Cognito\Auth0?
Or maybe there is already a better way to implement this?
Official answer from amazon support:
After investigating this further, and reaching out to the Cognito Team, I can confirm that the intended functionality is not currently possible with Cognito. The required State parameter is stripped from requests when added manually, preventing the flow from being bypassed like this. After researching this further it looks like there is already a feature request for providing a workaround and I have noted your desire for this functionality as well.
Unfortunately at this time I can't confirm any ETA regarding this request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With