Add support for a User.FullName SAML attribute

Review Request #12633 — Created Sept. 23, 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 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

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.
895604e73f65f79ca440089beea60265acc1cb89 Gary Kramlich
reviewboard/accounts/sso/backends/saml/views.py
Loading...