-
Notifications
You must be signed in to change notification settings - Fork 2
FAM Onboarding
Use the FAM Onboarding Questionniare to provide the required information.
Based on the information we get, we will create a new client in FAM for your project, and send the client details to your contact person for all environments that are requested. It includes the following configuration parameters:
{
aws_cognito_region: "this is fam cognito region",
aws_user_pools_id: "this is the fam user pool id",
aws_user_pools_web_client_id: "this is your client id",
aws_mandatory_sign_in: 'enable',
oauth: {
domain: "this is the cognito oauth domain",
scope: ['openid'],
redirectSignIn: "this is the login redirect url you give to us",
redirectSignOut: "this is the logout chain url + the logout redirect url you give to us"
responseType: 'code',
},
federationTarget: 'COGNITO_USER_POOLS',
};
Once you have your client details, you can configure your application to use the service for your application login. We suggest to use the AWS Amplify library.
An example:
-
Install Amlify library for nodejs project
npm install aws-amplify
-
Config the Amlify library where you want to use it, where the
aws-exports
is the file stores all the configuration parameters we send to youimport { Amplify } from 'aws-amplify'; import awsconfig from './aws-exports'; Amplify.configure(awsconfig);
-
Amplify methods, more methods please check its documnetation:
-
Login:
import { Auth } from 'aws-amplify'; Auth.federatedSignIn();
-
Logout:
Auth.signOut();
-
Get current user:
Auth.currentAuthenticatedUser();
-
Get tokens:
Auth.currentSession();
-
- get roles from our client and add to our database?
- assign a fam admin role to someone from the client team?
- Environment Management
- Release Management
- Creating a Release
- Database Backups and Restores
- OIDC Client Testing
- FAM Onboarding Ops Guide
- Setup AWS CloudWatch
- Setup AWS EC2 instance to connect to RDS Postgres Database
- Technical Troubleshooting
- Managing Terraform State
- Enable Cloudwatch Logs for API Gateway
- Update AWS CloudFront Certificate
- Verify IDIM BCeID Client SOAP Web Service