mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(config): 🔥 Remove old oidc section in config
This commit is contained in:
parent
ce781f3336
commit
9f1e89b592
9 changed files with 116 additions and 147 deletions
|
|
@ -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) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue