This repository was archived by the owner on Aug 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Corrupted session stateΒ #38
Copy link
Copy link
Open
Description
Steps to Recreate
- Be GSuite admin
- Create new project here: https://console.developers.google.com/apis/library
- On same page, search for and enable Admin SDK, Google+ API and Group Settings API
- Configure consent screen here: https://console.developers.google.com/apis/credentials/consent
- Create credentials here: https://console.developers.google.com/apis/credentials
- Select OAuth Client ID, choose Web Application as application type (take note of ID & secret)
- Clone https://github.com/stripe/gaps
- Edit
docker-compose.ymlto look like:
version: '2'
services:
web:
build: .
ports:
- 3500:3500
links:
- mongo
environment:
- MONGODB_URL=mongodb://mongo/mongo
- RACK_ENV=development
- FAVICON_URL=
- GAPS_URL=http://localhost:3500
- ORG_DOMAIN=example.com
- ORG_NAME=Example
- OAUTH_CLIENT_ID=<CLIENT ID> # replace
- OAUTH_CLIENT_SECRET=<CLIENT SECRET> # replace
- OAUTH_REDIRECT_URL=http://localhost:3500/oauth2callback
- SESSION_SECRET=123
mongo:
image: mongo- Run
docker-compose up - Navigate to http://localhost:3500/
- Click Sign In
- Select GSuite admin user
- Click ALLOW
- Observe error message:
You seem to have corrupted session state. Try logging in again?
Looks like something went wrong :(
- Be sad π
Browsers
- Safari 10.1 (12603.1.30.0.34)
- Chrome 58.0.3029.110 (64-bit) (macOS)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels