Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

matrixgroup/tec2020_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the demo code for TEC2020

Unlocking New Member Benefits via Member-Only Access to Cloud Resources

The code here is from Auth0's samples. The essential changes are app.js:callApi

For this code to work you will need an Auth0 Account acting as OpenID Connect ID provider(OIDC IdP) and AWS account with a Cognito Federated Identity setup like this

The permissions granted to authorized users are set via the role in Cognito Federated Pool and that role contains a policy that looks like:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "events:PutEvents",
            "Resource": "arn:aws:events:us-east-1:5430----2478:event-bus/default"
        }
    ]
}

You will need to put your account info in auth_config.json file as well as the XXXX in app.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published