Add LTI support, and tidy OIDC code

This commit is contained in:
Mészáros Mihály
2019-12-16 14:30:46 +01:00
parent d1039411a4
commit e8731a37e5
3 changed files with 138 additions and 54 deletions
+24 -12
View File
@@ -2,25 +2,37 @@ const os = require('os');
module.exports =
{
// oAuth2 conf
/* auth :
// Auth conf
/*
auth :
{
// The issuer URL for OpenID Connect discovery
// The OpenID Provider Configuration Document
// could be discovered on:
lti :
{
consumerKey : 'key',
consumerSecret : 'secret'
},
oidc:
{
// The issuer URL for OpenID Connect discovery
// The OpenID Provider Configuration Document
// could be discovered on:
// issuerURL + '/.well-known/openid-configuration'
// issuerURL : 'https://example.com',
// clientOptions :
// {
issuerURL : 'https://example.com',
clientOptions :
{
client_id : '',
client_secret : '',
scope : 'openid email profile',
// where client.example.com is your multiparty meeting server
// where client.example.com is your multiparty meeting server
redirect_uri : 'https://client.example.com/auth/callback'
}
},*/
}
},
*/
redisOptions: {}
// session cookie secret
cookieSecret : 'T0P-S3cR3t_cook!e',