aws-mobilehub

AWS Cognito/Amplify - have new user sign ups be automatically add to a user group

六眼飞鱼酱① 提交于 2019-11-30 11:55:50
问题 I am using AWS Amplify library to sign up and perform Auth for an AppSync project. This uses Cognito. However, when a new user signs up via Amplify/Cognito, the new user isn't assigned to any specific group in the cognito pool. I am using the Amplify higher order component for login/signup. import { withAuthenticator } from 'aws-amplify-react'; which I wrap over a component class Authenticator extends React.Component { //... basically empty component, only exists so I can wrap it w/ the HOC }

iOS - AWS MobileHub sign in with developer authenticated provider

☆樱花仙子☆ 提交于 2019-11-30 02:29:50
I'm trying to understand how to sign in with a developer authenticated identity using AWS mobilehub's iOS SDK as recently AWS changed this SDK and I cannot find any documentation on this. The sample app fails to shed any light on this. I have a REST API to retrieve the cognito ID and Token but I'm not sure what to do with them once I have this. AWS has the following different classes that futher complicate the issue: AWSCredentialsProvider, AWSCognitoCredentialsProvider (No longer available in new SDK), AWSSignInProvider, AWSAbstractCognitoIdentityProvider (no longer available in new SDK)

iOS - AWS MobileHub sign in with developer authenticated provider

耗尽温柔 提交于 2019-11-29 00:10:03
问题 I'm trying to understand how to sign in with a developer authenticated identity using AWS mobilehub's iOS SDK as recently AWS changed this SDK and I cannot find any documentation on this. The sample app fails to shed any light on this. I have a REST API to retrieve the cognito ID and Token but I'm not sure what to do with them once I have this. AWS has the following different classes that futher complicate the issue: AWSCredentialsProvider, AWSCognitoCredentialsProvider (No longer available