Skip to content

Instantly share code, notes, and snippets.

@notyal
Last active September 28, 2018 02:25
Show Gist options
  • Save notyal/06f4fe9ae1f53ca8d874fa2285cd0ed8 to your computer and use it in GitHub Desktop.
Save notyal/06f4fe9ae1f53ca8d874fa2285cd0ed8 to your computer and use it in GitHub Desktop.
# lasso config
lasso:
#logLevel: debug
logLevel: info
listen: 0.0.0.0
port: 9090
allowAllUsers: false
publicAccess: false
domains:
- email.127.0.0.1.xip.io
jwt:
issuer: Lasso
maxAge: 240
secret: changeme-changeme-changeme-changeme
compress: true
cookie:
# name of cookie to store the jwt
name: Lasso-cookie
domain: .domain.127.0.0.1.xip.io
secure: true
httpOnly: true
session:
name: lasso-session
headers:
jwt: X-Lasso-Token
querystring: access_token
redirect: X-Lasso-Requested-URI
db:
file: data/lasso_bolt.db
#
# OAuth Provider Config
#
oauth:
provider: google
# create new credentials at:
# https://console.developers.google.com/apis/credentials
client_id: CLIENT-ID-CHANGEME
client_secret: CLIENT-SECRET-CHANGEME
callback_urls:
- https://lasso.domain.127.0.0.1.xip.io/auth
preferredDomain: email.127.0.0.1.xip.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment