New Fresh deep-dives on cloud, AI, mobile & web now publish on blog.msdevbuild.com Read the latest → Install the app

Register Identity Provider for new OAuth Application

By   Sunday, August 21, 2016 comments
reads
React:

Introduction:

OAuth is a web authentication protocol and open standard for authorization, Nowadays Internet users to log in to third party websites using following account without exposing user registration.

Google
Facebook
Twitter
Microsoft
LinkedIn
Githup
Flicker
Yahoo
DropBox
You can find below wiki for some more list of notable identity provider
https://en.wikipedia.org/wiki/List_of_OAuth_providers

How Oauth will Work:

Third party app /website can access your data stored in another website without registries.

The OAuth flow has three steps

  • Get a Request Token
  • Get the User's Authorization
  • Exchange the Request Token for an Access Token

Register New OAuth Applications:

Before you can integrate Identity provider sign-in into your apps, you must register your application and get the corresponding client ID and client secret from below steps, which we need to call the Sign-in API


Configure Google OAuth:

Register New OAuth application follow below steps

Navigate to https://console.developers.google.com and login with your google Account credentials when prompted.

Select Credentials tab and Click on Create Project.

Add your App/website name and click on Create



In the Credentials API Popup, select the create credentials drop-down list, and choose OAuth client ID.




Select Application Type As Web Application or iOS, android and click on configure button


Fill personal details, privacy details and click on save

Get the package name from your AndroidManifest.xml file then use the following command to get the fingerprint and Click on Create



8. From the resulting OAuth client dialog box, copy the Client ID. The Client ID lets your app access enabled Google APIs.

Configure Facebook OAuth:

Register New OAuth application follow below steps



Navigate to https://developers.facebook.com and login with your facebook Account credentials when prompted.
Click on “ My Apps” Dropdown and select “Add a New App”.



Select a App Platform ( iOS,Android,Facebook Canvas,WebSite,etc)
Give Unique App/Website Name


Fill email, select app category and click on “Create APP ID”.
Complete security check and click on Submit
Get the package name from your AndroidManifest.xml file then add package name and class name



Generate development key hash and press on Finish
From the resulting OAuth client dialog box, copy the Client ID. The Client ID lets your app access enabled Facebook APIs.

Configure Twitter OAuth:

Register New OAuth application follow below steps
Navigate to https://dev.twitter.com/apps/new and login with your Twitter Account credentials when prompted.
Enter your Application Name, Description ,your website address and callback URL.


Accept the Developer agrement and clicking the Create your Twitter Application.
Copy the consumer key (API key) and consumer secret from the screenand use into your application

Configure Microsoft OAuth:

Go to https://apps.dev.microsoft.com/, and login with your Microsoft Account (Hotmail, Windows Live, Messenger, Active Directory, Xbox, Skype, and OneDrive) credentials when prompted.
Select My Application and click Add an App
Enter the Application name and click on Create application



Generate application ID and secrets and use into the application


Configure LinkedIn OAuth:

Register New OAuth application follow below steps
Navigate to http://developer.linkedin.com/ and login with your LinkedIn Account credentials when prompted
Select platform (RESTAPI,Javascript ,Android SDK,iOS SDK)
Click the "Add New Application" link and fill in the required fields(Company Name,Application Name,Description,Application URL,logo,Business website,email and phone) and agree Licience condition



4. Click on Submit. To retrieve your API Key and Secret Key later, click on the link for your Application Name and they will now be listed in the application's details.


Configure Githup OAuth:

Register New OAuth application follow below steps
Navigate to https://github.com/settings/developers and login with your Github Account credentials when prompted.
Click the "Register New App" link and fill in the required fields(Application Name,Description, URL and callback url) and click on”Regsiter Application “

Copy the Client ID and Client Secret from the screen and use into your application


Configure Dropbox OAuth

Navigate to https://www.dropbox.com/developers and login with your DropBox Account credentials when prompted.
Choose an API Type and Access type
Enter the Application name and click on Create App



Copy the App Key and App Secret from the screen and use into your application


Configure Flicker OAuth:

Navigate to https://developer.yahoo.com/flickr/ and login with your Yahoo Account credentials when prompted.
For getting API Key ,Clcik on “ Create an APP”.

Choose if Non-Commercial or Commercial.
Enter the Application name, description and click on submit


Copy the App Key and App Secret from the screen and use into your application


Configure Yahoo OAuth:

Register New OAuth application follow below steps
Navigate to https://developer.yahoo.com/apps/ and login with your Yahoo Account credentials when prompted.
Enter the Application name, application type and access and click on Create App







Copy the Client ID and Client Secret from the screen and use into your application



I will explain about implementation on Next article
SJ
Suthahar Jegatheesan

Cloud, AI & Mobile Solutions Architect · 18+ years across Azure, Google Cloud and Firebase, C#, Python, .NET MAUI and Flutter. Author of the Xamarin Q&A Book.

No comments:

sponsored

What Colleagues Say

“Suthahar is one of the most thorough and knowledgeable cloud architects I’ve worked with. His depth on Azure and ability to make complex mobile solutions work cross-platform is remarkable. He always delivers beyond expectations.”

AT Arun T. Senior Engineering Manager · Direct Manager

“I’ve followed Suthahar’s MSDEVBUILD blog for years — practical, deep, always current. Working alongside him confirmed what I suspected: he’s as sharp in person as on paper, and a genuinely generous mentor and architect.”

RK Rajesh K. Lead Developer · Mindtree

Certifications & Recognition

AZ-300 · Azure Architect Technologies AZ-301 · Azure Architect Design AZ-104 · Azure Administrator Associate AI-100 · Designing Azure AI Solutions DP-900 · Azure Data Fundamentals MCPD · Windows Phone Certified SAFe® 4 Scrum Master

Technical Expertise

☁ Cloud Platforms Microsoft Azure — Expert · 18 yrs App Services · AKS · Functions · Cosmos DB · APIM · Entra ID AWS & Google Cloud — Advanced
πŸ€– AI & Automation Azure OpenAI / GenAI — Advanced · 5 yrs RAG Pipelines · Bot Framework · Cognitive Services · Vision & Speech AI · ML.NET
πŸ“± Mobile Architecture .NET MAUI & Xamarin — Expert · 12 yrs Flutter · Native iOS/Android · Offline-First · Secure Storage & Auth
πŸ”’ Identity & Security Microsoft Entra ID — Expert OAuth 2.0 · OIDC · Zero Trust · Conditional Access · RBAC · Key Vault

Speaking & Community

Microsoft User Group Malaysia Recurring speaker on Azure architecture, AI integration and .NET mobile development across Malaysia and APAC.
Global Azure Bootcamp — Chennai Presented “AI into Xamarin Mobile Apps” at GAB Chennai, part of the worldwide Global Azure community event.
AI & Azure OpenAI Community Events Workshops and live demos on RAG pipelines, AI agents and intelligent workflow automation since 2023.
Mobile & Cloud Workshops — Coimbatore Multi-day deep-dive sessions at GRG Computer Technology, KG Microsoft Innovation Center and RVS College of Arts and Science.
500+Blog Articles
50+Conference Talks
10K+Monthly Readers
30Public Repositories
3Continents Delivered
New home

MSDEVBUILD now publishes on blog.msdevbuild.com

Every new article lands there first — cloud and Azure, AI and GitHub Copilot, .NET MAUI and Flutter, web and Firebase. It installs as an app, opens like a native one and keeps working offline.

MSDEVBUILD Assistant Ask about Suthahar, Azure, AI or mentorship
Hi! I’m a simple FAQ bot for MSDEVBUILD. Tap a question below or type your own.