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

SPIKE: for BCeID user, can we get first name, last name and email information from the attribute mapping #1388

Open
1 of 3 tasks
MCatherine1994 opened this issue May 14, 2024 · 8 comments

Comments

@MCatherine1994
Copy link
Collaborator

MCatherine1994 commented May 14, 2024

Describe the task
Check if the BCeID attribute mapping can be updated to include first name, last name and email information in the token.

Acceptance Criteria

  • Find out if it's possible to update the attribute mapping
  • Check Cognito attributes that need to be updated
  • Check Pathfinder SSO attributes that need to be updated

Additional context

  • Add any other context about the task here.
  • Or here
@ianliuwk1019
Copy link
Collaborator

ianliuwk1019 commented May 16, 2024

Based on SSO Identity Provider Attribute Mapping.
(First Name/Last Name) will not be provided for BCeID account.
Image

Image

Based on SSO documentation, it's not possible for BCeID user to map First Name and Last Name into the token.
Perhaps, for "business" BCeID, first name and last name don't make sense.
We may consider using "Business Legal Name" or "Display Name".

Which would mean, if we like to display on our user table (UI), we may consider 3 columns (not sure if that will be too many columns):

@OlgaLiber2
Copy link
Collaborator

@ianliuwk1019 we need to find out then how we can display first and last names of BCeID users. Business name does not make sense in this case.

@ianliuwk1019
Copy link
Collaborator

@ianliuwk1019 we need to find out then how we can display first and last names of BCeID users. Business name does not make sense in this case.

Ah~ yes, I forgot our search does contain first name and last name; so we can only get from our IDIM search, since they are not provided from Cognito/Pathfinder SSO.

@ianliuwk1019
Copy link
Collaborator

Reply from Conrad:

Image

@OlgaLiber2
Copy link
Collaborator

@ianliuwk1019 whatever we need to do to make it happen. Does it make sense to get Conrad to help us with it?

@ianliuwk1019
Copy link
Collaborator

Also confirmed with SSO team. These fields are not available and can't be customizable.
Image

@ianliuwk1019
Copy link
Collaborator

Hi @OlgaLiber2
I think we are trying to exploring the possibility to get first_name and last_name from Cognito for BCeID users.
The purpose I think is that we can get these information from the token so we can update into our FAM user table when user login again.
Since that's not possible from the Pathfinder SSO, we could still update to our FAM user table since we have the IDIM search already
(it just a bit inconvenient).

If we would have to have these information in the BCeID user token for some more critical business reasons, and as Conrad said to skip Pathfinder SSO and go directly to SiteMinder, that would be a architectural change on design and also big implementation change I think, also some political issues Conrad mentioned.
@basilv

@ianliuwk1019
Copy link
Collaborator

Closed this spike as it is confirmed we will not be able to get these attributes from Pathfinder SSO; mentioned and discussed with team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants