msentra auth

This commit is contained in:
Jan Prochazka
2024-08-08 11:45:21 +02:00
parent cfa08286de
commit 7e5364d400
5 changed files with 29 additions and 3 deletions

View File

@@ -144,6 +144,9 @@ const driver = {
getAuthTokenFromCode(connection, options) {
return azureAuth.azureGetAuthTokenFromCode(options);
},
getAccessTokenFromAuth: (connection, req) => {
return req?.user?.msentraToken;
},
};
driver.initialize = dbgateEnv => {