Skip to content

A basic SAML based authroization code grant flow authentication using AWS Cognito with Azure Active Directory IdP through AWS Amplify with EmberJS.

Notifications You must be signed in to change notification settings

tamdilip/ember-amplify-cognito-azure-ad

Repository files navigation

ember-amplify-cognito-azure-ad

Live demo Open in CodeSandbox

A basic SAML based authroization code grant flow authentication using AWS Cognito with Azure Active Directory IdP through AWS Amplify with EmberJS (octane).

This repo gives a gist of handling federated sign-in using Amplify's Hub events on callback redirects in ember flow without any promise callbacks.

Image of auth flow

Installation

        $ git clone https://github.com/tamdilip/ember-amplify-cognito-azure-ad.git
        $ cd ember-amplify-cognito-azure-ad
        $ npm i
        $ ember s

Post installation

Hit - http:https://localhost:4200/

Takes to login page with both Microsoft AzureAD option (authenticates only users in active directory) and Cognito user pool option ( Sign up available)

On successful login should see below page :)

Image of logged-in home pages

References

Console

Happy coding :) !!

About

A basic SAML based authroization code grant flow authentication using AWS Cognito with Azure Active Directory IdP through AWS Amplify with EmberJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published