Add support for a User.FullName SAML attribute

Review Request #12633 — Created Sept. 24, 2022 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

If User.FirstName or User.LastName is not specified, we try to look for a
User.FullName attribute and split that on the first space to get a first and
last name.

This was necessary because some IdPs only let you specify a full name.

Applied this in our container build and tested it live at reviews.imfreedom.org using JetBrains Hub as the IdP.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Add support for a User.FullName SAML attribute
If User.FirstName or User.LastName is not specified, we try to look for a User.FullName attribute and split that on the first space to get a first and last name. This was necessary because some IdPs only let you specify a full name.
b4450a2a086cfb9a7b3690f392f28e3fffc614ad Gary Kramlich
reviewboard/accounts/sso/backends/saml/views.py
Loading...