All project notes

Engineering

Amazon Cognito

Bridges SalesCandy’s authentication service and AWS identity federation.

SalesCandy login → Cognito identity pool → Manager portal federation.
Illustrative diagram

The authentication service declared a Cognito identity pool and called getOpenIdTokenForDeveloperIdentity. The manager portal configured Amplify and used developer federation to sign in with the resulting identity information. This connected SalesCandy’s own login flow to the AWS identity used by the client.

SalesCandy Git evidence — Dodol/sc-auth f695bba, serverless.yml and handlers/lib/Cognito.js; Portals/manager-portal f1324139a, src/app/auth/_services/authentication.service.ts.

AWS references

Icons from the AWS Architecture Icons package.