amazon-archives / aws-amplify-serverless-plugin

Plugin for the Serverless Framework to output AWS Amplify configuration files.
Apache License 2.0
124 stars 30 forks source link

federated identities not passed into aws-exports properly #33

Closed adrianhall closed 6 years ago

adrianhall commented 6 years ago

When we have Cognito, Facebook, or Amazon federated identities, the Amplify library requires a federated object:

const federated = {
    google_client_id: '',
    facebook_app_id: '',
    amazon_client_id: ''
};

return (
    <Authenticator federated={federated}>
)

Update the google and facebook (and add amazon) to the federated object, rather than being listed directly.

adrianhall commented 6 years ago

Fixed with #34