This project has moved. For the latest updates, please go here.

/authorize endpoint and sending display param

Jan 20, 2015 at 8:15 AM
Hi,

do you support sending the display parameter with the OIDC mw?

http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest


display
OPTIONAL. ASCII string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are:

page
The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.

popup
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.

touch
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.

wap
The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.
Jan 20, 2015 at 8:28 AM
Edited Jan 20, 2015 at 8:29 AM
Found it.
Notifications = new OpenIdConnectAuthenticationNotifications { RedirectToIdentityProvider = n =>
                {
                    n.ProtocolMessage.Display = "wap";
                    return Task.FromResult(n);
                } }