Skip to content
This repository
branch: master
file 213 lines (178 sloc) 5.79 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
#####################################################################################
#
# SecureSocial 2 Settings
#
#####################################################################################

smtp {
host=smtp.gmail.com
#port=25
ssl=true
user="your_user"
password=your_password
from="your_from_address"
}

securesocial {
#
# If enabled, sets the path to your copy of Bootstrap.css to be used instead of the default one provided by SecureSocial
#
#bootstrapCssPath="your path"
 

#
# If enabled, sets the Favicon to display when in SecureSocial pages
#
#faviconPath="your path"
  

#
# If enabled, sets the path to your copy of JQuery to be used instead of the default one provided by SecureSocial
#
#jqueryPath="your path"


#
# If enabled, injects this Css file into all SecureSocial pages, allowing for minor style customizations
# If you want to do major changes, please read about custom templates in SecureSocial
#
#customCssPath="your path"

#
# Where to redirect the user if SecureSocial can't figure that out from
# the request that led the use to the login page
#
onLoginGoTo=/

#
# Where to redirect the user when he logs out. If not set SecureSocial will redirect to the login page
#
onLogoutGoTo=/login

#
# Where to redirect the user when he/she starts the signup process.
# If not set SecureSocial will redirect to the login page
#
#onStartSignUpGoTo=/login

#
# Where to redirect the user when he/she signs up.
# If not set SecureSocial will redirect to the login page
#
#onSignUpGoTo=/login

#
# Where to redirect the user when he starts the password reset process.
# If not set SecureSocial will redirect to the login page
#
#onStartResetPasswordGoTo=/login

#
# Where to redirect the user when he resets his/her password.
# If not set SecureSocial will redirect to the login page
#
#onResetPasswordGoTo=/login

#
# Where to redirect the user when he changes his/her password.
# If not set SecureSocial will redirect to the password change page
#
#onPasswordChangeGoTo=/password

#
# Enable SSL for oauth callback urls, login/signup/password recovery pages and the authenticator cookie
#
ssl=false


#
# Parameters for the cookie used to track users.
#
cookie {
#
# The cookie name (defaults to 'id')
#name=id

#
# The path for which the cookie should be sent by the browser (defaults to /)
#
#path=/

#
# The domain for which the cookie should be sent (it is left empty by default)
#
#domain=some_domain

#
# If set to true, the cookie is not readable by a client side script (defaults to true).
#
#httpOnly=true

#
# The amount of time the session id will remain valid since the last request
#
idleTimeoutInMinutes=30

#
# The amount of time the session id will be valid since the user authenticated.
# After this the user will need to re-authenticate
#
absoluteTimeOutInMinutes=720
}

twitter {
requestTokenUrl="https://twitter.com/oauth/request_token"
accessTokenUrl="https://twitter.com/oauth/access_token"
authorizationUrl="https://twitter.com/oauth/authenticate"
consumerKey=your_consumer_key
consumerSecret=your_consumer_secret
}

facebook {
authorizationUrl="https://graph.facebook.com/oauth/authorize"
accessTokenUrl="https://graph.facebook.com/oauth/access_token"
clientId=your_client_id
clientSecret=your_client_secret
# this scope is the minimum SecureSocial requires. You can add more if required by your app.
scope=email
}

google {
authorizationUrl="https://accounts.google.com/o/oauth2/auth"
accessTokenUrl="https://accounts.google.com/o/oauth2/token"
clientId=your_client_id
clientSecret=your_client_secret
scope="https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email"
}

linkedin {
requestTokenUrl="https://api.linkedin.com/uas/oauth/requestToken"
accessTokenUrl="https://api.linkedin.com/uas/oauth/accessToken"
authorizationUrl="https://api.linkedin.com/uas/oauth/authenticate"
consumerKey=your_consumer_key
consumerSecret=your_consumer_secret
}

# LinkedIn OAuth2 sample configuration
# Change line in play.plugins from securesocial.core.providers.LinkedInProvider to securesocial.core.providers.LinkedInOAuth2Provider
#linkedin {
# authorizationUrl="https://www.linkedin.com/uas/oauth2/authorization"
# accessTokenUrl="https://www.linkedin.com/uas/oauth2/accessToken"
# clientId=your_client_id
# clientSecret=your_client_secret
#}

github {
authorizationUrl="https://github.com/login/oauth/authorize"
accessTokenUrl="https://github.com/login/oauth/access_token"
clientId=your_client_id
clientSecret=your_client_secret
}

foursquare {
authorizationUrl="https://foursquare.com/oauth2/authenticate"
accessTokenUrl="https://foursquare.com/oauth2/access_token"
clientId=your_client_id
clientSecret=your_client_secret
}

xing {
requestTokenUrl="https://api.xing.com/v1/request_token"
accessTokenUrl="https://api.xing.com/v1/access_token"
authorizationUrl="https://api.xing.com/v1/authorize"
consumerKey=your_consumer_key
consumerSecret=your_consumer_secret
}

instagram {
authorizationUrl="https://api.instagram.com/oauth/authorize"
accessTokenUrl="https://api.instagram.com/oauth/access_token"
clientId=your_client_id
clientSecret=your_client_secret
}

vk {
authorizationUrl="http://oauth.vk.com/authorize"
accessTokenUrl="https://oauth.vk.com/access_token"
clientId=your_client_id
clientSecret=your_client_secret
}

userpass {
#
# Enable username support, otherwise SecureSocial will use the emails as user names
#
withUserNameSupport=false
sendWelcomeEmail=true
enableGravatarSupport=true
tokenDuration=60
tokenDeleteInterval=5
signupSkipLogin=false
}
}
Something went wrong with that request. Please try again.