-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Documentation - https://developers.onelogin.com/api-docs/2/apps/overview
My use case - SAML App Certificates have to be replaced regularly (Max 5 years) and there is no UI within OneLogin to replace multiple apps at once. This allowed me to query existing apps and update them.
var samlConfig = new AppSamlConfiguration() { CertificateId = 123456789 };
foreach (var app in await client.GetApps(name: "*"))
{
var appChanges = new UpdateAppRequest(app.Id)
{
Configuration = samlConfig
};
await client.UpdateApp(appChanges).Dump();
}Metadata
Metadata
Assignees
Labels
No labels