Skip to main content

RainMaker Login Related Issues

Third-party sign-in fails in my environment. The error extracted from the redirect URL is user.client:Attribute+does+not+exist+in+the+schema.invalid_request. How can this be resolved?

The error user.client:Attribute+does+not+exist+in+the+schema.invalid_request is observed in RainMaker backend release 2.3.0.

The quick fix for this issue is to make manual changes on the AWS console to correct the Cognito IDP attribute mappings.

The steps to fix the issue are as follows:

  1. Go to the AWS console > RainMaker deployment region > Amazon Cognito > User pools >

    • rainmaker-user-email-mobile-pool (if you use both email and mobile number-based sign-in)
    • rainmaker-user-email-pool (if you use email-based sign-in)

    Sign-in experience > Federated identity provider sign-in. This will list all identity providers configured with the user pools.

Third-party sign-in attributes

  1. Click the identity provider name to correct the attribute mappings from the list on the above page.

  2. Go to attribute mapping and click Edit. Update the list with the correct mapping values.

Google sign-in attributes

  1. Correct attribute mappings for the IDPs are given here:

    Google:

    User pool attributeGoogle attribute
    custom:admincustom:admin
    custom:maintainercustom:maintainer
    custom:user_idcustom:user_id
    emailemail
    email_verifiedemail_verified
    namename
    picturepicture
    usernamesub

    SignInWithApple:

    User pool attributeApple attribute
    emailemail
    namename
    usernamesub
  2. After the attribute mappings are updated as shown above, the issue should be resolved.

This issue will be fixed in RainMaker backend release 2.3.1.

On this page