2014-05-12 18:32:26 +02:00
|
|
|
defaults: &defaults
|
|
|
|
|
# You can generate secret keys with 'rake secret'
|
|
|
|
|
|
|
|
|
|
# For rails cookies
|
|
|
|
|
secret_key_base: '12345'
|
|
|
|
|
|
|
|
|
|
# For devise login tokens
|
2014-06-20 15:26:15 +03:00
|
|
|
devise_secret_key: '12345'
|
2014-05-12 18:32:26 +02:00
|
|
|
|
|
|
|
|
# Your errbit API key
|
|
|
|
|
# errbit_key: '12345'
|
|
|
|
|
|
2014-07-30 17:18:58 +03:00
|
|
|
development:
|
|
|
|
|
<<: *defaults
|
|
|
|
|
# Sample data so that mocks work
|
|
|
|
|
google_key: 'sample'
|
|
|
|
|
google_secret: 'sample'
|
|
|
|
|
|
|
|
|
|
facebook_key: 'sample'
|
|
|
|
|
facebook_secret: 'sample'
|
|
|
|
|
|
|
|
|
|
suse_key: 'sample'
|
|
|
|
|
suse_secret: 'sample'
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
<<: *defaults
|
|
|
|
|
|
|
|
|
|
production:
|
|
|
|
|
<<: *defaults
|
2014-06-20 20:13:56 +03:00
|
|
|
# Leave the variables' names empty, unless you use the providers, in which case you need to
|
|
|
|
|
# register your applicaton and add the actual keys.
|
2014-06-20 15:26:15 +03:00
|
|
|
|
2014-06-20 20:13:56 +03:00
|
|
|
# If you add more providers, keep the format of the variables: provider_key, provider_secret
|
|
|
|
|
|
|
|
|
|
# Register your appllication with Google from https://code.google.com/apis/console#:access
|
2014-07-24 22:58:36 +03:00
|
|
|
google_key: '458905029210-hhf15fe4cq93i9t88i4r49v3si1avpjr.apps.googleusercontent.com'
|
|
|
|
|
google_secret: '-jXIXbaRV9xvdctpyZbbiSs5'
|
2014-06-20 20:13:56 +03:00
|
|
|
|
|
|
|
|
# Register your application with Facebook from https://developers.facebook.com/
|
2014-07-24 22:58:36 +03:00
|
|
|
facebook_key: '574935089296608'
|
|
|
|
|
facebook_secret: 'd41ae8396a32c559c4527ab1c8c0d1b2'
|
2014-06-20 20:13:56 +03:00
|
|
|
|
2014-07-23 14:55:06 +02:00
|
|
|
# Developers do not need to register their application for suse account to work.
|
2014-07-30 17:18:58 +03:00
|
|
|
# You must, however, add some sample value to the variables, for the login option to appear.
|
|
|
|
|
# For example:
|
|
|
|
|
#suse_key: 'sample data'
|
|
|
|
|
#suse_secret: 'sample data'
|
|
|
|
|
suse_key: ''
|
|
|
|
|
suse_secret: ''
|
2014-05-12 18:32:26 +02:00
|
|
|
|
2014-07-24 23:18:57 +03:00
|
|
|
|
|
|
|
|
# Register your application with GitHub from https://github.com/settings/applications
|
|
|
|
|
github_key: '7e38bdc9408721600e2c'
|
|
|
|
|
github_secret: '0290d60c27b1f0b9e88d73551862f6e0136976ba'
|
|
|
|
|
|
2014-07-30 17:18:58 +03:00
|
|
|
# If you add more providers that do not require a key, you still have to create the 2 variables with sample data
|