Instance Configuration
An instance requires:id- Instance identifieruserPoolId- AWS Cognito User Pool ID (format:region_xxxxxxxx)clientId- Cognito OIDC client IDregion- AWS region (extracted from userPoolId)
AWS Cognito Setup
Each instance uses its own AWS Cognito user pool for authentication.Create User Pool
- Create an AWS Cognito User Pool
- Note the User Pool ID (format:
region_xxxxxxxx) - Extract the region from the User Pool ID
/Users/vincentgraham/clearline-ui/src/app/auth/auth.js
Create OIDC Client
- Create an OIDC client in the User Pool
- Note the Client ID
- Configure redirect URI (default:
http://localhost:5173/for development)
/Users/vincentgraham/clearline-ui/src/app/auth/auth.js
Instance API
Fetch instance configuration: API:GET /instances/:id
Response:
Environment Configuration
Related
- Instance Concept - Understand instances
- Authentication - Authentication details