You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to change this option so that the return can come from an async function? I made the change, to be able to put async but it's not getting the secret when it needs it.
is it possible to change this option so that the return can come from an async function? I made the change, to be able to put async but it's not getting the secret when it needs it.
multiTenant: {
realmResolver: (request) => {
console.log(
realmResolver:${request.get('host').split('.')[0]}
);return request.get('host').split('.')[0];
},
realmSecretResolver: async (realm) => {
const account = await this.getSecret(realm); //database
return account.client_secret;
},
},
The text was updated successfully, but these errors were encountered: