Displaying the username requested by Microsoft

Max Nuding max.nuding at uni-konstanz.de
Tue Mar 24 11:16:50 UTC 2026


For users coming from Microsoft the POST to /idp/profile/SAML2/POST/SSO 
includes (in addition to the SAMLRequest and RelayState	parameters) a 
"username" parameter. This contains the username which had been entered 
into the username form from Microsoft.
We would like to be able to display this value in our view/login.vm.
However, because this is _not_ part of the SAMLRequest I seem unable to 
do so.
My strategy would've been to use a scripted shibboleth.CustomViewContext 
function, which extracts the value and provides it to the view. However 
I cannot find it anywhere in the context.
Has someone done this or does anybody have an idea where I could grab 
that value from?

Best
Max


-- 
Herr Max Nuding
Sachgebiet Identity und Access Management, Sachgebiet Softwareentwicklung
Abt. IT-Dienste für Forschung, Lehre und Infrastruktur
Kommunikations-, Informations-, Medienzentrum (KIM)
Universität Konstanz
78467 Konstanz
Tel: +49.7531.88-4658
Raum: B707

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5056 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20260324/acb427cf/attachment.p7s>


More information about the users mailing list