0
我試圖連接我的AWSCognitoIdentities這裏引用https://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated-identities/AWSCognito連接Facebook和自己的開發驗證的身份
// Initialize a Logins map for the authentication tokens.
Map logins = new HashMap();
// Add the custom identity for this user
logins.put("custom", identifier);
// If your user is also logged in with Facebook, Amazon, or Google, we can now add
// the session token.
logins.put("graph.facebook.com", Session.getActiveSession().getAccessToken());
// Add the new map we created to the credentials provider.
credentialsProvider.setLogins(logins);
我沒有得到任何錯誤,當我跑這一點,但我只能看到我的自定義開發者認證供應商鏈接從亞馬遜控制檯發送給用戶。
有關我可能會丟失什麼的任何想法?