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

[Feature] Store user's Name value as Display Name value if received #86

Open
pb-amy opened this issue Jul 29, 2021 · 2 comments
Open

[Feature] Store user's Name value as Display Name value if received #86

pb-amy opened this issue Jul 29, 2021 · 2 comments

Comments

@pb-amy
Copy link

pb-amy commented Jul 29, 2021

Allow institutions to send us user's preferred name as an (optional) standard value. Can use displayName, urn:oid:2.16.840.1.113730.3.1.241 (https://commons.lbl.gov/display/IDMgmt/Attribute+Definitions#AttributeDefinitions-displayNamedisplayName)

If we receive it from the institution, save it as the user's Display Name in Pressbooks.

Requested by (for internal purposes only): https://pressbooks.zendesk.com/agent/tickets/3834 (Boise State) & https://pressbooks.zendesk.com/agent/tickets/6451 (UM System)

See: https://github.com/pressbooks/pressbooks-saml-sso/blob/dev/inc/class-saml.php#L445 this function will match the SAML attributes for the PB username.

@pb-amy
Copy link
Author

pb-amy commented Jul 29, 2021

Related to this issue directly, it would be nice if the Display Name could auto-populate the "Display name" field so that the the Greeting message on the upper top right hand corner shows the user's Name by default and not their ID. (See a screen recording of this example here: https://drive.google.com/file/d/1mAkQ-2qnF4yiapKBovmGK59LRkrbRe1H/view)

Idea from this ticket (for internal purposes only): https://pressbooks.zendesk.com/agent/tickets/6537 (KPU)

@SteelWagstaff SteelWagstaff changed the title Store user's Name value as Display Name value if received [Feature] Store user's Name value as Display Name value if received Sep 9, 2021
@tw77
Copy link

tw77 commented Mar 7, 2022

Further interest in this feature expressed by UCF just now during a quick call to discuss their SSO setup.

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

No branches or pull requests

2 participants