Closed rstens closed 4 days ago
Test can commence with these new users as the accounts are created through https://dev.account.bcregistry.gov.bc.ca/setup-account
@kris-daxiom Has identified an issue that needs to be addressed.
See discussion in Team Chat
No longer blocked, but if there's still work to do this needs an estimate to help us not overload the sprint. Adding an estimate as best we can with you absent @kris-daxiom
@jdyck-fw I am not aware of any open issues blocking this. @rstens should be able to help us verify that this is working as expected
@rstens - To simulate a new user, the user needs to be removed from keycloak, sbc auth and STRR db
I suggest we use/remove user: myLTSA05 (bcsc/l7v6ce7gpph5x5a3eoghb75e6fkzmmei)
@rstens The user is removed from dev keycloak
STRR-DB Clear out SQL:
delete from events where user_id = 19;
delete from registration where user_id = 19;
delete from application where submitter_id = 19;
delete from users where id =19;
Delete from SBC Connect:
Before I started I cleared out:
Login with: myLTSA05/98900005
Forwarded to finalization 3 Errors:
{code: "missing_a_valid_role", description: "Missing a role required to access this endpoint"}
Fill out the page
Click Save& Start Registration
2 Errors:
{code: "missing_a_valid_role", description: "Missing a role required to access this endpoint"}
{"details":[],"message":"Error checking if SBC account name already exists."}
Now the application hangs.
Newly entered info (different from the first time)
Click Save& Start Registration 1 error:
Even known users (in SBC Connect) that have never visited STRR, run into issues with the accounts
call.
I tried with myLTSA05 user credentials, and it seems to be a backend issue:
@dimak1 @rstens I see issues with the Auth accounts endpoints and I am talking to Patrick Wei about this. But if the account of tos has an error, are we still going to create registration stepper page? Are we not showing any error pop up and preventing further navigation?
@kris-daxiom this is more of a design question for Andy @andyyanggov.
@kris-daxiom For a brand new User entering for the first time, TOS should be there.
BTW, for users with no SBC connect could we simply not send them to SBC connect to get account created? Would save us some time here.
Lekshmi to discuss with Patrick Wei to discuss any changes to authorization to let us know so we are aware.
API is working fine. We need to revisit the account UI flow @dimak1 @mbertucci @andyyanggov .
after the user authenticates with BC Services Card Account they need to go to https://strr-ui-dev.web.app/account-select/
@kris-daxiom - to do the api validation to ensure that the user cannot create a duplicate account in the same session (not sure if this captures what lekshmi said)
Cannot close this off until the FE work is done.
@kris-daxiom assigning to you as you mentioned creating an API validation to ensure the user cannot create a duplicate account .. see above. If you have please add it as a dependency to this ticket
If UI work needs to be done can you also create a ticket for that and link it to this story?
Thank you,
If it's a duplicate name it adds a suffix, so not required for now.
@dimak1 can you move this one along with the Host UI
@rstens, is this still relevant, the bug description? If users can be created, even with a different name (with additional suffix) then it might not be a bug anymore.
Hey, yes, I changed the title so that it was relevant
From: Dima K @.> Sent: 30 October 2024 2:00 PM To: entity @.> Cc: Bertucci, Mikaela CITZ:EX @.>; Assign @.> Subject: Re: [bcgov/entity] Bug - New user cannot be created as SBC User (Issue #22909)
[EXTERNAL] This email came from an external source. Only open attachments or links that you are expecting from a known sender.
@rstenshttps://github.com/rstens, is this still relevant, the bug description? If users can be created, even with a different name (with additional suffix) then it might not be a bug anymore.
— Reply to this email directly, view it on GitHubhttps://github.com/bcgov/entity/issues/22909#issuecomment-2448369882, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANF3VC3Y3CDNHIIJOXQIVATZ6FCFPAVCNFSM6AAAAABM4QK5ASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBYGM3DSOBYGI. You are receiving this because you were assigned.Message ID: @.***>
Closing as a duplicate of 23957
We created 2 new test ids (See: https://bcgov.sharepoint.com/:x:/r/teams/09399/Shared%20Documents/Product-Scrum%20Team%20Chat/LTSA%20Test%20Accounts.csv?d=w93c41235b128494b9adfd5593814c554&csf=1&web=1&e=35uyog)
The first time logging in, the app goes to the finalization Page and tries to create the user in the SBC DB. It fails to do that with no msg in the UI.
However, the network trace shows:
Acceptance Criteria