bcgov / nr-forests-access-management

Authorization solution for BC natural resource sector
Apache License 2.0
7 stars 2 forks source link

Spike: if we can have cognito:groups roles in another format #1287

Open MCatherine1994 opened 3 months ago

MCatherine1994 commented 3 months ago

Describe the task SPAR is wondering if they can get the cognito group in the following format: Image Currently we have: Image

Acceptance Criteria

Additional context

MCatherine1994 commented 3 months ago

Some additional information get from AWS support Alan, but he's trying to create a json object as an attribute, not talking about if "cognito:group" supports json. He also mentioned about the char limit in Cognito.

Image

References:

[1] https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html

[2] https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminGetUser.html

[3] https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html