edit oidc idp general tab

This commit is contained in:
miloschwartz
2025-04-17 22:30:02 -04:00
parent 3e94384cde
commit 8c0e4d2d8c
10 changed files with 779 additions and 22 deletions

View File

@@ -76,7 +76,14 @@ export async function generateOidcUrl(
);
}
const parsedScopes = JSON.parse(existingIdp.idpOidcConfig.scopes);
const parsedScopes = existingIdp.idpOidcConfig.scopes
.split(" ")
.map((scope) => {
return scope.trim();
})
.filter((scope) => {
return scope.length > 0;
});
const key = config.getRawConfig().server.secret;