This repo is a companion for a "live-coding Single Sign On" conference.
- Clone this repo
- Copy
template.envto.envat the root of the repo - Obtain a client_id and client_secret from Google, and set the following redirect uris:
http://localhost:8080/oauth2/callback(for java)http://localhost:5000/oauth2/callback(for python)http://localhost:3000/oauth2/callback(for node)
- Save the credentials in your
.envfile
Using JDK 17+, navigate to the java directory and start the app with gradle:
cd java
./gradlew bootRun
open http://localhost:8080
Using Poetry, navigate to the python directory,
and run the app with flask:
cd python
poetry install
poetry run flask run
open http://localhost:5000
Using node 18, navigate to the javascript directory, and run with start (or live):
cd javascript
npm install
npm run start
open http://localhost:3000