forked from ManifoldScholar/manifold
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit oauth config since there are no secrets
- Loading branch information
1 parent
a36db41
commit 66aa922
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ doc | |
.generators | ||
/.rspec-local | ||
|
||
config/oauth.yml | ||
data/* | ||
!data/.gitkeep | ||
examples.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |