aws知道linkedin

Aws cognito linkedin

我正在尝试使用 Amazon Cognito 将 LinkedIn 登录添加到我的 React 应用程序,我按照解释的方式做了所有事情 here 是的,它有效 但是 我是不使用托管的 Amazon Cognito UI 并且我不希望我的用户被重定向到 Auth0 站点以使用 LinkedIn 登录...

有什么方法可以在不重定向到 Cognito\Auth0 的情况下实施 LinkedIn Cognito login\signup?

或者也许已经有更好的方法来实现这个?

说明没有Auth0是不可能的。好问题。 LinkedIn 的 OpenID 只是不同于 FB and Google's public login which Cognito accepts right now. I don't have code that authorizes a Cognito Pool with LinkedIn's OpenID. I believe I found the document that will explain what's missing in LinkedIn's OpenID in detail: How do I set up LinkedIn as a social identity provider in an Amazon Cognito user pool? I wouldn't throw away the Sign in with LinkedIn OpenID service in your app. It's just that Auth0 is absolutely necessary unless LinkedIn 更改其 OpenID。

亚马逊客服官方回复:

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.