mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +00:00
oAuth fix (#4860)
This commit is contained in:
parent
c9be34aaa3
commit
d5eb02c926
@ -37,14 +37,7 @@ export function registerProviders (
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.keys = [serverSecret]
|
app.keys = [serverSecret]
|
||||||
app.use(
|
app.use(session({}, app))
|
||||||
session(
|
|
||||||
{
|
|
||||||
domain: accountsUrl.split('.', 2)[1]
|
|
||||||
},
|
|
||||||
app
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
app.use(passport.initialize())
|
app.use(passport.initialize())
|
||||||
app.use(passport.session())
|
app.use(passport.session())
|
||||||
|
Loading…
Reference in New Issue
Block a user