Git Product home page Git Product logo

aws-connect-sso-web-app's Introduction

AWS Connect SSO Web App

This project is intended to run from AWS Amplify, using Cognito as the log in mechanism with users configured to have specialized groups representing their Call Center permissions for various AWS Connect instances. This works in concert with the Lambda defined for generating SAML Responses for Connect. Then, once a user logs in to Cognito, this site should help them (within zero to two clicks) get federated and logged in to their desired Connect instance.

Configuration

This site relies on some environment variables:

  • NEXT_PUBLIC_SAML_GENERATION_URL

    The URL for the APIGateway connection to the SAML Response generating Lambda mentioned above

  • NEXT_PUBLIC_COGNITO_HOSTED_UI_URL

    The base URL for the Hosted UI Cognito sign-in page associated with this User Pool's application (the current working User Pool is "Cognito for Connect Call Centers" (ID: us-east-1_AZyvZQdFN) and the "App integration" client is "Amplify App")

  • NEXT_PUBLIC_COGNITO_CLIENT_ID

    The Client ID of the App Integration - App Client (from the "Amplify App" client)

  • NEXT_PUBLIC_COGNITO_REDIRECT_URI

    The URL of this web app

    Note: This must be configured here as well as inside Cognito, in the User Pool, in the App client, under "Hosted UI", under "Allowed callback URLs", and it should also be reflected in the Invitation Message under "Messaging"

  • NEXT_PUBLIC_SSO_DEFAULT_DURATION

    The session duration to use for the SSO session requested by the generated SAML (in seconds)

  • NEXT_PUBLIC_AWS_SAML_ENDPOINT

    The SAML endpoint for Connect SSO sessions (should be "https://signin.aws.amazon.com/saml")

Misc

This is a Next.js project bootstrapped with create-next-app.

See The Inside Story for more information about all the random hurdles and gotchas that were overcome in order to get this working.

aws-connect-sso-web-app's People

Watchers

Jasmine Noor avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.