Changeset 905

Show
Ignore:
Timestamp:
04-10-10 11:05:49 (4 years ago)
Author:
tabma
Message:

- added OAauth plugin and Configuration variables (keys should be added server-side into the Configuration file)

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r892 r905  
    11#Grails Metadata file 
    2 #Mon Sep 13 00:42:27 CEST 2010 
     2#Mon Oct 04 11:22:09 CEST 2010 
    33app.grails.version=1.3.4 
    44app.name=gscf 
     
    1313plugins.nadd-neutralizer=0.3 
    1414plugins.nimble=0.4-SNAPSHOT 
     15plugins.oauth=0.10 
    1516plugins.searchable=0.5.5.1 
    1617plugins.shiro=1.0.1 
  • trunk/grails-app/conf/Config.groovy

    r776 r905  
    155155// jquery plugin 
    156156grails.views.javascript.library="jquery" 
     157 
     158oauth { 
     159        provider_name { 
     160                requestTokenUrl = 'http://www.myexperiment.org/oauth/request_token' 
     161                accessTokenUrl = 'http://www.myexperiment.org/oauth/access_token' 
     162                authUrl = 'http://www.myexperiment.org/oauth/authorize' 
     163                scope = 'http://example.com/oauth/feed/api/' // Optional - currently required by the Google GData APIs 
     164                consumer.key = '$oauthkey$' 
     165                consumer.secret = '$oauthsecret$' 
     166        } 
     167}