Skip to main content

Deployment Related References

Changing the Region from AWS Console

When you log in to the AWS Console, a default region appears in the upper-right corner, as shown below.

ref1

In the above screenshot, the AWS account is in the "us-east-1 (N. Virginia)" region.

Sometimes, you may need to change it—for example, to get the ARNs for the Lambda functions. To change the region, click the region (e.g., "US East (N. Virginia) us-east-1") in the upper-right corner. A drop-down will appear, as shown in the screenshot below. Here, you can click the region link to select the desired region. In the screenshot below, the user has selected the region "eu-west-1".

ref2

After you click the appropriate region link (in this case, "eu-west-1/Ireland"), your region will change in the AWS console, as shown below.

ref3


Cleaning up the Cognito Custom Domain

If you have configured the Cognito custom domain required for third-party logins like Google and Apple sign-in, follow the steps below to remove it.

  1. Go to Cognito Service (AWS > Services > Cognito) and click Manage User Pools.

    ref4

  2. Search for the Cognito user pool "rainmaker-user-email-mobile-pool".

    ref5

  3. Click the link Domain name from the menu on the left and select your domain.

  4. Click the Delete Domain button.


Raising a Support Ticket

  1. Go to Cognito Service (AWS > Services > Support).

    support_1

  2. Click Create Case.

    support_1a

  3. Go to the Technical Support tab.

    support_2a

  4. Describe your case and submit it.

For more details, visit AWS Support Case Management.


Steps to Create an App Client

  1. Go to AWS Cognito in your desired AWS account.

    cognito service

  2. Select the user pool of choice or create one.

  3. Go to the App Integration tab.

    cognito client

  4. Scroll down and create an app client.

    create client

  5. Create a confidential client and name it "rainmaker-oauth-client".

    create client 1

  6. Keep everything as default.

    In some AWS accounts, the setup part is available after creating the client first.

  7. Set the Callback or Redirect URL: {HTTP Base URL}/{Stage}/cognitocallback

    Where:

    • HTTP Base URL: This is present in the deployment details email sent to the Superadmin for the OAuth-only deployment. If you miss the email, you can also call the Deployment Details API using the OAuth-only deployment's credentials.
    • Stage: The stage entered while deploying the Backend of the OAuth-only deployment.

    create client 2

  8. Ensure Identity providers contain Cognito user pool.

  9. Ensure Authorization code grant is selected for grant types.

  10. Ensure these five scopes are selected.

    create client 3

  11. Select all attributes.

  12. Click Create App Client.

  13. Done.

  14. For steps to create domain, please refer to Configure Cognito Domain.

On this page