summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-07-12 21:28:46 -0600
committermo khan <mo@mokhan.ca>2021-07-12 21:28:46 -0600
commit82b4957275813de22b4b8817ef2720494411aa34 (patch)
treee6b5de85876a750fd4642c36ac0cdb1264a8b404
parent983fd9928153ad1a605b53d0b387d7c7771073c3 (diff)
doc: add note on how to exchange a code for an access token
-rw-r--r--app/controllers/githubs_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/githubs_controller.rb b/app/controllers/githubs_controller.rb
index ea86d9e..292bc85 100644
--- a/app/controllers/githubs_controller.rb
+++ b/app/controllers/githubs_controller.rb
@@ -3,6 +3,8 @@ class GithubsController < ApplicationController
# After installation callback
def show
+ # TODO:: exchange code for a user access token
+ # https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#2-users-are-redirected-back-to-your-site-by-github
end
# web hooks