O'Reilly logo

Cloud Native Development Patterns and Best Practices by John Gilbert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example – user authentication integration

The following is an example of a bidirectional integration with a User Authentication system, such as AWS Cognito. The outbound communication demonstrates directing the external service to send an invitation to a new user. The inbound communication demonstrates re-publishing the external events for user sign-up and sign-in. In the case of an email system, this communication would entail sending emails and reacting to the likes of bounce and unsubscribe events, whereas for a payment processor we would process payments and react to disputes, refunds, and so forth. The following is a fragment from a Serverless Framework serverless.yml file, which demonstrates the configuration and registration of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required