Link to home
Start Free TrialLog in
Avatar of coder
coderFlag for Australia

asked on

How to create oauth2 provider for authentication

Hi Experts,

         I want to create web-API's(REST) project, and this api's required to be authenticated.  Please tell the best way to authenticate? is Oauth2 is good for authentication? if so you how to create a oauth2 - provider project.   is there any sample code?, I am using sql server database.   Can we use this database to store the consumer keys.  

consumer application which is using can be asp.net web application or it can be mobile application.  Please help

Thanks in Advance,
Bharath AK
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

I have not worked with .net & sql server. I used to setup for customers vs web services calls through oauth2. We need to setup server with database data to access by client.

Please go through this link, http://oauth.net/2/  It has clear documents to implement oauth2 server.
Avatar of coder

ASKER

Hi Loganathan Natarajan,

      Thanks for your reply,  I need one clarification, does the keys and webservices server reside on the same server to serve customers?   or in different servers.  Do we need to store keys and secret in database? Please revert back to me.

With Many Thanks,
Bharath AK
Avatar of coder

ASKER

Hi Loganathan Natarajan,

     Do you have any sample code, irrespective of any technology(.net,java)?  Please get back to me.

Thank you,
Bharath AK
ASKER CERTIFIED SOLUTION
Avatar of Member_2_5194534
Member_2_5194534

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial