lacostabr / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

Any plan on aspnet MVC pattern? #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Good job guys.

Are you planning to release a demo/example with MVC pattern?

Thanks

Original issue reported on code.google.com by pablo.gi...@gmail.com on 6 Jun 2011 at 1:14

GoogleCodeExporter commented 9 years ago
Hi Pablo,

Thanks for the suggestion.

Actually we do plan to release a demo with MVC pattern, but our first priority 
is to cleanup the code and resolve any issues with the simple example for next 
couple of weeks. So it may be 2-3 weeks before we are able to release that.

If you are interested in building the MVC example, that would be a great help 
too. We can help you with any problems when you build the example and would 
love to feature you as a contributor.

Warm regards,
Abhinav

Original comment by tsg.bric...@gmail.com on 6 Jun 2011 at 2:00

GoogleCodeExporter commented 9 years ago
Custom HttpHandler not firing, returning 404 in ASP.NET MVC Application.

Original comment by ramakris...@gmail.com on 10 Aug 2011 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
ASP.NET MVC is attempting to route request which is blocking the HttpHandler 
from firing. To get past the (404 error), add 
routes.IgnoreRoute("socialauth/{resource}.sauth/{*pathInfo}"); to Global.cs or 
where ever routes are registered.

I'm running into an issue where after a user signs in the subsequent requests 
aren't shown as authenticated. 

Original comment by jap...@japerr.com on 30 Sep 2011 at 3:36

GoogleCodeExporter commented 9 years ago
"Vote Up" for MVC demo/pattern!

It would be very useful with some pointers or options for how to add 
authorization, ideally using same/similar to out of box [Authorize] attribute 
etc.

Thanks!
Kristian

Original comment by willsha...@gmail.com on 6 Oct 2011 at 11:51

GoogleCodeExporter commented 9 years ago
Hi Kristian,

Thanks for voting up. It seems MVC compatibility is something we really need to 
put more focus on. Please contribute by providing more details on how do you 
feel MVC and SocialAuth.NET should work together? For example, please elaborate 
your thouts on using Authorize attribute in context of SocialAuth.NET

regards,
Deepak

Original comment by daggar...@brickred.com on 7 Oct 2011 at 9:36

GoogleCodeExporter commented 9 years ago
It would be ideal with:

* an MVC 3 login sample, which has one page requiring [Authorize], forcing 
Register + Login
* Registering = adding a new user from the authentication, without using the 
(restrictive) out of box Membership framework (i.e. using a custom data store, 
but it's really only the 'API' that's important, having (extensible) 
CreateUser() etc methods. While you can write a custom Membership provider, you 
can't easily extend the 'API'. 
* Having (in the samples) only SSO users and having both SSO and local users 
are equally useful

HIH!

Original comment by willsha...@gmail.com on 7 Oct 2011 at 11:00

GoogleCodeExporter commented 9 years ago
Any update on MVC3 demo / support?  Think this would be a critical feature...

Original comment by mmezza...@gmail.com on 1 Nov 2011 at 7:55

GoogleCodeExporter commented 9 years ago
+1 on MVC pattern with Authorize attribute integration.

Original comment by dmar...@gmail.com on 9 Nov 2011 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by daggar...@brickred.com on 14 Nov 2011 at 7:33

GoogleCodeExporter commented 9 years ago
work on this started!

Original comment by daggar...@brickred.com on 5 Dec 2011 at 6:37

GoogleCodeExporter commented 9 years ago
Good to hear that!

May want to take a look at this project implementation which allows 
light-weight listing/managing of users, roles and account information via 
ASP.NET Membership on MVC3 / Razor.

ASP.NET Membership Starter Kit
https://github.com/TroyGoode/MembershipStarterKit

Original comment by mmezza...@gmail.com on 17 Dec 2011 at 9:06

GoogleCodeExporter commented 9 years ago
We are closing this issue as latest release is compatible with MVC. However, 
surely we expect many suggestions for which I request to raise separate issues. 

regards,
Deepak

Original comment by tsg.bric...@gmail.com on 20 Jan 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Perfect!

Original comment by pablo.gi...@gmail.com on 20 Jan 2012 at 11:20