single conn
Some checks are pending
Run tests / test-runner (push) Waiting to run

This commit is contained in:
Jan Prochazka 2024-08-05 17:15:30 +02:00
parent 04b195f4c6
commit a64504ba02
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,10 @@ class AuthProviderBase {
getLoginPageConnections() {
return null;
}
getSingleConnection(req) {
return null;
}
}
class OAuthProvider extends AuthProviderBase {

View File

@ -34,6 +34,8 @@ module.exports = {
const isLoginForm = authProvider.isLoginForm();
const additionalConfigProps = authProvider.getAdditionalConfigProps();
const singleConnection = await authProvider.getSingleConnection(req);
return {
runAsPortal: !!connections.portalConnections,
singleDbConnection: connections.singleDbConnection,