Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

807: CDK auth stack (AWS Cognito) #818

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

chriswilty
Copy link
Member

@chriswilty chriswilty commented Feb 5, 2024

Description

Cognito-based CDK auth stack.

Main parts of our Cognito resources are

  • UserPool - just as it sounds, defines a pool of users allowed to authenticate with our resources
  • IdentityProvider - provides an integration with Azure AD, so that all ScottLogic users can gain access to the application
  • UserPoolClient - determines how the userpool will be accessed, including the auth flow to use, any identity provider(s) to integrate with, and other stuff such as token lifetimes

Prerequisite for #807 and #808

Concerns

I am adding this stack to the CDK app, even though it contains some commented-out code and the stack isn't even being deployed currently, because it was looking a touch tricky to extract it. I will shortly come to the auth stuff anyway, once the Route 53 domain-based stack is added.

Checklist

Have you done the following?

  • Linked the relevant Issue
  • Added tests
  • Ensured the workflow steps are passing

@@ -21,7 +21,18 @@ const tags = {
const generateStackName = stackName(app);
const generateDescription = resourceDescription(app);

// Don't need this stack, yet... Or ever? Will ask Pete C.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since confirmed, yes we will need it eventually!

@chriswilty chriswilty force-pushed the 385-cdk-fargate-loadbalancer branch from 1d7401b to fcc6ae2 Compare February 12, 2024 16:18
@chriswilty chriswilty force-pushed the 807-cdk-auth-stack branch 2 times, most recently from d44aac0 to bc7591c Compare February 12, 2024 16:49
@pmarsh-scottlogic pmarsh-scottlogic linked an issue Feb 13, 2024 that may be closed by this pull request
Base automatically changed from 385-cdk-fargate-loadbalancer to feature/aws-cloud-infrastructure February 13, 2024 16:28
@chriswilty chriswilty merged commit 1e7d361 into feature/aws-cloud-infrastructure Feb 13, 2024
1 check passed
@chriswilty chriswilty deleted the 807-cdk-auth-stack branch February 13, 2024 16:35
chriswilty added a commit that referenced this pull request Feb 22, 2024
chriswilty added a commit that referenced this pull request Feb 29, 2024
chriswilty added a commit that referenced this pull request Mar 4, 2024
chriswilty added a commit that referenced this pull request Mar 8, 2024
chriswilty added a commit that referenced this pull request Mar 19, 2024
chriswilty added a commit that referenced this pull request Mar 21, 2024
chriswilty added a commit that referenced this pull request Mar 28, 2024
chriswilty added a commit that referenced this pull request Apr 11, 2024
chriswilty added a commit that referenced this pull request Apr 15, 2024
chriswilty added a commit that referenced this pull request Apr 24, 2024
chriswilty added a commit that referenced this pull request Apr 25, 2024
chriswilty added a commit that referenced this pull request Apr 29, 2024
chriswilty added a commit that referenced this pull request Jul 5, 2024
chriswilty added a commit that referenced this pull request Jul 15, 2024
chriswilty added a commit that referenced this pull request Jul 16, 2024
chriswilty added a commit that referenced this pull request Sep 25, 2024
chriswilty added a commit that referenced this pull request Sep 25, 2024
chriswilty added a commit that referenced this pull request Oct 22, 2024
chriswilty added a commit that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cognito Authentication for UI
2 participants