1

Closed

Add ability to configure the LoginUrl globally

description

The LoginUrl on the FacebookAuthorizeAttribute is today a instance property and it doesn't support a global property. This means the login URL has to be replicated whereever the attribute is used. Please add support for a web.config property or use the existing loginUrl within ASP.NET auth configuration.
Closed Feb 6, 2012 at 7:36 PM by ntotten
Fixed in 5.0.46.

comments

prabirshrestha wrote Jun 29, 2011 at 9:04 AM

we currently don't have plans to put login url in IFacebookApplication which is accessible through web.config as you mentioned.

For now we have made the LoginUrl in FacebookAuthorizeAttribute virtual. So you will have to override it for now and create a new class instead. http://facebooksdk.codeplex.com/SourceControl/changeset/changes/ff5fa2b91942

Let us know if it is enough.