different SSOProvider entrypoints for api and UI
This commit is contained in:
parent
4f0ea1f15b
commit
72eef7b480
@ -9,17 +9,18 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
web: {
|
web: {
|
||||||
host: "*",
|
host: "*",
|
||||||
port: 8080,
|
port: 8081,
|
||||||
poweredBy: 'baseApp',
|
poweredBy: 'baseApp',
|
||||||
rootUrl: '/', // '/', '/SSObaseApp'
|
rootUrl: '/', // '/', '/SSObaseApp/'
|
||||||
doubleSlashCheck: true, // replacing // with /
|
doubleSlashCheck: true, // replacing // with /
|
||||||
sessionKey: require('crypto').randomBytes(32).toString('hex'),
|
sessionKey: require('crypto').randomBytes(32).toString('hex'),
|
||||||
cookieKey: require('crypto').randomBytes(32).toString('hex'),
|
cookieKey: require('crypto').randomBytes(32).toString('hex'),
|
||||||
rememberMeMaxAge: 1000*60*60 // two weeks (milliseconds*seconds*minutes)
|
rememberMeMaxAge: 1000*60*60 // two weeks (milliseconds*seconds*minutes)
|
||||||
},
|
},
|
||||||
sso: {
|
sso: {
|
||||||
authenticator: "http://localhost:8080/api/authenticate", // redirect back to this url;
|
authenticator: "http://localhost:8081/api/authenticate", // redirect back to this url;
|
||||||
provider: "https://auth.rxbn.de/authenticate", // sso service
|
providerApi: "http://localhost:8080/api/authenticate", // sso service api
|
||||||
|
providerUI: "http://localhost:8080/authenticate", // sso service
|
||||||
appId: process.env.APP_ID, // app id
|
appId: process.env.APP_ID, // app id
|
||||||
appSecret: process.env.APP_SECRET // random token
|
appSecret: process.env.APP_SECRET // random token
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user