Infini-DL360/hedgedoc: configure oauth
This commit is contained in:
parent
ee2ba84597
commit
89e0367f6f
2 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,18 @@ in
|
||||||
|
|
||||||
allowFreeURL = true;
|
allowFreeURL = true;
|
||||||
requireFreeURLAuthentication = true;
|
requireFreeURLAuthentication = true;
|
||||||
|
|
||||||
|
oauth2 = {
|
||||||
|
baseURL = "https://auth.inx.moe";
|
||||||
|
userProfileURL = "https://auth.inx.moe/application/o/userinfo/";
|
||||||
|
userProfileUsernameAttr = "preferred_username";
|
||||||
|
userProfileDisplayNameAttr = "name";
|
||||||
|
userProfileEmailAttr = "email";
|
||||||
|
tokenURL = "https://auth.inx.moe/application/o/token/";
|
||||||
|
authorizationURL = "https://auth.inx.moe/application/o/authorize/";
|
||||||
|
clientID = "W1nhnUi43GweNljV4ADGfZ9VKuH4aoN1cwCUNlFp";
|
||||||
|
scope = "openid email profile";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue