📔
ServerlessDocs - Serverless File Service
  • Introduction
  • Why Serverless!!
  • Prerequisites
  • User Management
    • Authentication
    • Amazon Cognito
    • Create the User Pool
    • Create an App Client
    • Integrate the app with Cognito User Pool
    • Create the Identity Pool
    • Validate the setup
    • Troubleshooting
  • Manage Documents with AWS S3
    • Authorization
    • Update Cognito Identity Pool Auth Role
    • S3 Documents Bucket Folder Structure
    • Validate the Access Permissions
    • Public and Private files access
    • Upload Files to S3
    • Download Files
    • Delete Files
    • Share Files
  • More Security Configurations
    • Cognito user emails
    • Password policies
    • Allow only Organization and Whitelisted users to Signup
    • Allow admin users to upload Public files
    • Notify Admin users when a new user signup
    • Enable Multi-factor Authentication (MFA)
  • User Operations
    • Password Reset / Forgot Password
    • Resend Verification Code
  • Serverless APIs
    • APIs
    • Secure APIs using API Gateway Authorizer
    • Access Cognito values in Lambda function
    • Authorize APIs with OAuth 2 Scope
    • Fine-grained Access with AssumeRole
    • Notify Admin users on large file uploads
    • Generate a Month-To-Date Usage report
  • Source Code and Setup
    • Source Code
    • IAM Policies
    • S3 Bucket Policies
    • Suggestions / Feedback
    • More References
  • Deployment
    • AWS SAM
    • Serverless Framework
  • Contributors
    • Team
Powered by GitBook
On this page

Was this helpful?

  1. User Management

Create an App Client

PreviousCreate the User PoolNextIntegrate the app with Cognito User Pool

Last updated 4 years ago

Was this helpful?

App client is a way to configure the application which will use the selected Cognito User pool for authentication.

App client is required if you want to use the Cognito Hosted UI. For this example, we are not using Hosted UI directly but will integrate it in a later section.

As we have a user pool ready to use now, next, we will have to create an app client that will be allowed to use the pool.

  • Select the App clients from the left menu in your Cognito user pool

  • Enter App client name

  • Uncheck Generate client secret. This is because JavaScript SDK does not support client secrets.

  • Complete the setup with Create app client

At this stage, we have the Cognito app client ready to use for the user pool.

The client secret is used by applications that have a server-side component that can secure the client secret.

App Client for our application