Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Oauth2

A CFC for Oauth2.

Getting Started

Nice starter documentation: http://www.progratory.com/index.cfm/2014/10/31/Getting-started-with-oauth2-for-Google

Basics

To get started, fill in your own client_id, client_secret and scope. These are found in the Google developer console. Make the changes in application.cfc.

	<cfset application.oauth2 = new oauth2.oauth2(
		client_id 		=   'YOUR %Client ID%',
		client_secret 	= 	'YOUR %Client secret%',
		redirect_uri	=	'http://localhost/GoogleCal/oauth2/index.cfm',
		scope           =   'https://www.googleapis.com/auth/calendar',
		state			=	'',
		access_type		=	'offline', <!--- Use offline for refresh tokens --->
		approval_prompt	=	'force'
	) />

Contributors:

Author: William Eatman @billeatman

Based on Oauth2 work done by Matt Gifford @coldfumonkeh http://googleanalytics.riaforge.org/

About

Examples for Oauth2

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.