Skip to content

appsol/oauth-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#DotNet Sample for OAuth

Welcome to the Intuit Developer's DotNet OAuth Sample App.

This sample app is meant to provide a working example of oAuth management.

OAuth Management APIs consists of the following:

Intuit OAuth Service URLs - URLs to use to access Intuit OAuth Services. Request token URL - Request token endpoint to retrieve request token and secret Access token URL - Access token endpoint to retrieve access token and secret Authorize URL - To authorize access to the third party app

This is not a seed project to be taken cart blanche and deployed to your production environment. Certain concerns are not addressed at all in our samples (e.g. security, privacy, scalability). In our sample apps, we strive to strike a balance between clarity, maintainability, and performance where we can. However, clarity is ultimately the most important quality in a sample app.

Table of Contents

Prerequisites First Use Instructions Running the app Project Structure

Prerequisites:

• Vsiual Studio 2012 or later • .Net framework 4.5 • Developer.intuit.com account • An app on developer.intuit.com and the associated app token, consumer key, and consumer secret.

First Use Instructions:

• Clone the GitHub repo to your workspace

Note: This sample is using the sandbox environment by default. So, you need to use the development tokens of your app to run this sample. If you want to switch to production, please make sure that you change the qbo_url in app.properties file inside OauthSample folder to quickbooks.api.intuit.com from sandbox-quickbooks.api.intuit.com. Also, make sure that you configure the sample app to use prod tokens instead of development tokens.

• Configure the app tokens: Go to your app on developer.intuit.com and copy the OAuth Consumer Key and OAuth Consumer Token from the keys tab. Add these values to the app.properties file in our OauthSample folder.

• Build and Run the code using Visual Studio

Run the App:

Once the sample app code is on your computer, follow the steps below to run the app:

• Run the app

• Connect your app to Quickbooks, by clicking on ‚”Connect to QuickBooks” button and follow the instructions on the screen.

• After successfully connecting the app to QuickBooks.

About

DotNet Oauth Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published