How to start working with OAuth

Posted on 2014-08-08
1 Ratings
Last Modified: 2014-08-14
OK, I want to dive in working with OAuth.

What do I have to dowload.

What program will support the OAuth protocol as a IdP ?

Question by:Anthony Lucia
    LVL 60

    Assisted Solution

    A good means is the ( which you can go into the "Consumer developers" or "Service Provider developer". Also do not miss the The Beginner’s Guide to OAuth (, and do not jump straight w/o reading them minimally.. The necessary libraries are available as well (

    A sample oauth use case workflow will help to better visual what your role and guide the direction for development as "user", "consumer" or "Service provider"

    Many services such as Facebook, Github, and Google have already deployed OAuth 2 servers, and deployed implementations. Before you can begin the OAuth process, you must first register a new app with the service. When registering a new app, you usually register basic information such as application name, website, a logo, etc. In addition, you must register a redirect URI to be used for redirecting users to for web server, browser-based, or mobile apps. See more steps ( Make sure you always send requests over HTTPS and never ignore invalid certificates. HTTPS is the only thing protecting requests from being intercepted or modified.

    Ultimately for service provider, it will need the IdP to validate the user identity and credentials. You can catch oauth with ADFS (

    Contoso is a medium-size furniture manufacturer. The developers for Contoso have been exploring building a new MVC5 ToDoList Web API and client applications that can use this API. However they want to be able to restrict access to the users of their on-premises Active Directory instance and use Active Directory as their Identity Provider. The developers already have a good understanding of OAuth and would like to leverage this for authentication.
    To demonstrate the use of a native client with AD FS, we will build a WPF and Windows Store application using Windows Azure Authentication Library that allows a user to authorize access to a REST service with their AD account.
    As part of the walkthrough we will also build a simple service that the client can call. The service provides a central location for a user to save their ToDo List, this service can be hosted on-premises or in the cloud.
    You should rather focus on leveraging available Service Providers which either has its IdP or able to tap Ent IdP...see (
    E.g. Google ( which make available Google Data API (
    E.g. Saleforce (
    LVL 30

    Accepted Solution

    Start with Apache CXF as your OAuth provider. You need to write a custom data provider for it.

    OAuth 2 -

    OAuth 1 -

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
    If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now