Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #1272 revert read write attribute #1279

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

MCatherine1994
Copy link
Contributor

@MCatherine1994 MCatherine1994 commented Apr 3, 2024

refs: #1272

Got a pipeline error, seems like "username" is not a valid read/write attribute, revert the code back
Screen Shot 2024-04-03 at 10 08 49 AM

Have another guess, noticed that for bceid user in Cognito, their user attributes have a sub field, and it is required, but for the test bcsc user, I didn't see a sub field in the user attributes.
Screen Shot 2024-04-03 at 10 24 35 AM
Screen Shot 2024-04-03 at 10 24 40 AM

Screen Shot 2024-04-03 at 10 25 57 AM

And checked our IDP config terraform file, for IDIR and BCEID, we didn't do a username mapping to sub, think Cognito will auto map it, so want to try to remove the username mapping to sub from the BCSC IDP config as well, and see if that brings any difference.
Screen Shot 2024-04-03 at 10 26 43 AM

Copy link

sonarqubecloud bot commented Apr 3, 2024

Quality Gate Passed Quality Gate passed for 'nr-forests-access-management_admin'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@MCatherine1994 MCatherine1994 merged commit 2a17a4e into main Apr 3, 2024
13 checks passed
@MCatherine1994 MCatherine1994 deleted the spike/1272-bcsc-login-error branch April 3, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants