Skip to content

Commit

Permalink
commit oauth config since there are no secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Jul 27, 2024
1 parent a36db41 commit 66aa922
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ doc
.generators
/.rspec-local

config/oauth.yml
data/*
!data/.gitkeep
examples.txt
Expand Down
28 changes: 28 additions & 0 deletions api/config/oauth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
oauth:
cas:
descriptive_name: Princeton CAS
host: fed.princeton.edu
protocol: https
# WARN: The values below are unused placeholders
client_id: AAABBBCCCDDDEEEFFF
client_secret: AAABBBCCCDDDEEEFFF
email_key: 'email'
name_key: 'name'
nickname_key: 'nickname'
uid_key: 'id'
endpoints:
authorize:
uri: '/oauth/authorize'
method: 'GET'
query:
another: 'param'
token:
uri: '/oauth/token'
method: 'POST'
query:
another: 'param'
userinfo:
uri: '/api/v1/me'
method: 'GET'
query:
another: 'param'

0 comments on commit 66aa922

Please sign in to comment.