You need docker to be installed.
-
Get the code.
% git clone git@github.com:bikolya/workshop-oauth-client.git
-
Build image.
% docker-compose build
-
Boot the app.
% docker-compose up
-
Create OAuth client application on OAuth server with Redirect URL
http://localhost:9292/callback
.% open http://localhost:3000/oauth/applications/
-
Fill in
CLIENT_ID
andCLIENT_SECRET
inapp.rb
with given data. -
Verify that the app is up and running.
% open http://localhost:9292