Setting IdP login page locale based on some AuthnRequest data

Cantor, Scott cantor.2 at
Tue May 13 10:21:12 EDT 2014

On 5/13/14, 10:15 AM, "Paweł Pogoda" <paw.pogoda at> wrote:
>Is it possible to set different locale for IdP login page, based on some
>information sent in AuthnRequest?

Yes, but I strongly believe it's wrong to duplicate existing HTTP
features. Use the browser's language settings.

>In standard IdP configuration (using external login handler) login page
>take locale from request - browser settings. What I want to achieve is to
>override this default behaviour and be able to set locale based on some
>information stored on protected by SP site.


>I read something about authnRequest extensions, but don't know how to
>prepare such request on SP side. (I need to be able to incorporate in it
>some dynamic element <Locale>)
>In SP documentation I found some entry about <samlp:AuthnRequest>
>incorporated inside sessionIinitiator but I don't know if it's possible
>to add there custom
> XML tags with dynamic value.

It's not. You can't do dynamic extensions with it. You would have to
produce requests yourself and take over that role from the SP.

-- Scott

More information about the users mailing list