Reputation: 4081
I need to get Facebook display a "Log in to Facebook" prompt rather than a "Go to App" action when performing OAuth. In order to do this, I need to specify "display=popup" as part of the request.
How can I do this when performing OAuth with DotNetOpenAuth 4 using their WebServerClient object?
It seems in previous versions there was a requestParameters parameter in PrepareRequestUserAuthorization but now it just takes an IEnumerable listing scopes.
Thanks
Upvotes: 1
Views: 680
Reputation: 81801
Add the display=popup
query parameter to the URL you set on AuthorizationServerDescription.AuthorizationEndpoint
.
Upvotes: 4