How do I authenticate externally? - aspnetboilerplate

It seems like the documentation is quite outdated when working with external authentications. Does anyone have an example or documentation that shows how to authenticate externally?
I tried checking the Web.Core project, but I am completely lost.
Thanks in advance.

Related

Getting error from Parse while debugging Google login

So I'm trying to integrate Google login with Parse using the "Bring your own login" system. I was able to get the basic authorization functionality to work using the code snippets at https://groups.google.com/forum/#!topic/parse-developers/UUvTreGYOrI.
Now, to do some testing, I went ahead and manually deleted the user object via the Parse dashboard. However, I am now getting the following error when trying to access go through the signup workflow:
com.parse.ParseRequest$ParseRequestException: {"code":101,"message":"object not found for get"}
I tried clearing the cache and uninstalling the app, but the issue persists. Can anyone help me how to get around this and start the registration process afresh?
On a more fundamental note, this is my first time implementing code OAuth, logins, and ACLs. As such, any resource/tutorial that can give me code examples of this integration with Parse on both the CloudCode and the client (app) side would be highly appreciated (I believe the current official Parse tutorial uses Git and only has samples of the server side CloudCode).
Nevermind - I figured it out.
I had to delete the entry in the TokenStorage class on the Parse dashboard. I guess that's storing the token that links the login with the User object.
Anyway - I'm keeping this open to see if someone can point me to a good sample code for this workflow.

Authentication in OWASP ZAP 2.4.2 OSX

I've configured Authentication and Users as described in this video:
https://www.youtube.com/watch?v=cR4gw-cPZOA
However, it doesn't seem to actually use those credentials ( I see lots of posts to my authentication form with user "ZAP", and various other seemingly canned inputs, however) when I run Attack->Active Scan, and I cannot figure how to make that happen.
We've got more details in this FAQ: https://github.com/zaproxy/zaproxy/wiki/FAQformauth
Does that help?
Simon (ZAP project lead)

SocialAuth.net VS DotNetOpenAuth

browsing in this website, i found some interesting suggestions. SocialAuth.net and DotNetOpenAuth.
i started using SocialAuth. It's very simple to use and it worked (i only tried with google so far thou). My only problem with this library is that it doesn't provide a way to retrieve the Contacts from the providers it offers without logging you in with the new (or latest) provider you requested the list of Contacts.
in other words, i MUST sing in my people with a local username and password for security reasons. BUT i would like to benefit from this library's feature of getting contacts from different providers. Thing is that it overrides my currently logged in user (using FormsAuthentication) for the Authentication Token sent by google.
Has anybody confronted this issue?
Does DotNetOpenAuth doesn't have this flaw?
Thanks
Are you sure you understand OAuth?
It could be that I misread your question, and to be honest I don't have any experience with socialAuth.net (will look into it).
To me it seems like you think socialAuth.net requires you to login, I know this is not the fact in DotNetOpenAuth. Only place you need to login (if you aren't already) is the service you are connecting with (Twitter, Facebook, etc.)
Of course it could also be I just answered your question :D
Maybe you should check the last changes in source:
http://code.google.com/p/socialauth-net/source/list
As you can see, in r320 it seems they have fixed this issue

Session management functionality in jsf project

i am a beginner programmer and want to know how session management and login logout functionality can be incorporated in jsf project. Right now i can authenticate users from a table in the database but giving the direct url of the pages in the browser takes any anonymous user to the requested page of mine. i want only authenticated users to access the pages while their sessions are active. how is this done and what exactly i need to study to get this functionality in my application.
bundles of thanks in advance.
I suggest looking at something like Seam Security: http://seamframework.org/Seam3/SecurityModule
I was able to resolve this issue. There was a statement in my HibernateUtils class
session.close which was commented out and this is now working as expected after removing this comment.
Thanks for your help.

Log in to Facebook with a specific account via OAuth 2.0

I'm working on a facebook client project on mac using cocoa. i'm following the oauth flow to log in. My problem is that i'd like to log in to a specific account, and not the last account that was saved in a cookie (this happens even from any webrowser). can you help me to find a solution?
thanks in advance.
What framework do you use?
Maybe you can use "FBCocoa", when you want to change your login account, logout the saved account,i'm learning to use it now.
You can download the fbcocoa framework on github

Resources