Last post Mar 28, 2014 11:37 AM by BrockAllen
Mar 28, 2014 07:44 AM|heron6|LINK
I have been currently trying to understand how i will create the following, small description below.
So i would like to have a standalone login page, this created in vb.net. This page at the moment will only contain text boxes for username and password.
I will have a SQL database with the users information stored. On authenticating against this i will be directing the user to a dashboard type application containing a list of all the application which we have developed(all in diffrent lauguages) and hosted
on diffrent domains.
Once the user has successully authernticate i would like to provide a token of some sort which will allow the user access to all the applications which we allow. So i am guessing this is using oAuth? How do i go about creating the actual token? Do i need
to create a seprate API to sit away from the application which does this? I dont want to use anything like google. facebook etc to authenticate. The user will be authenticated against our own database and that will be the one way which we wish to have.
I have never actually done anything like this before so any links to documention to help implement something like this or any examples of code in vb.net or c sharp will be helpful. I have done some reading on the oauth.net website but i am getting confused
on how i will implement this without using facebook, twitter etc. If this isnt clear please ask and i will try my best to explain better.
Mar 28, 2014 08:59 AM|Mark_F|LINK
You dont need to use oAuth. Here is a fine MS article on forms authentication which you can implement. I have learned allot from this site, which helped me in the past. It is a comlete walkthrough.
Especially see steps 4.
Mar 28, 2014 09:48 AM|BrockAllen|LINK
Forms authentication works, but the newer cookie based authentication being used is from Katana (and OWIN):
Mar 28, 2014 10:48 AM|heron6|LINK
Mar 28, 2014 11:37 AM|BrockAllen|LINK
This is why you use SSL.