refactor(config): 🔥 Remove old oidc section in config

This commit is contained in:
Jesse Wierzbinski 2024-10-11 17:03:33 +02:00
parent ce781f3336
commit 9f1e89b592
No known key found for this signature in database
9 changed files with 116 additions and 147 deletions

View file

@ -69,7 +69,9 @@ export default (plugin: PluginType) => {
);
}
const linkedAccounts = await user.getLinkedOidcAccounts();
const linkedAccounts = await user.getLinkedOidcAccounts(
context.get("pluginConfig").providers,
);
return context.json(
linkedAccounts.map((account) => ({