Deactivating and deleting an OIDC application in Yandex Identity Hub
Note
This feature is at the Preview stage.
OIDC apps can be managed by users with the organization-manager.oauthApplications.admin role or higher.
Deactivate the application
If you need to temporarily disable authentication in an external app using the OpenID Connect
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps. - Next to the OIDC application you want to deactivate, click
and select Deactivate. - In the window that opens, confirm the operation.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
See the description of the CLI command for deactivating an OIDC app:
yc organization-manager idp application oauth application suspend --help -
Run this command:
yc organization-manager idp application oauth application suspend <app_ID>Result:
id: ek0o663g4rs2******** name: test-oidc-app organization_id: bpf2c65rqcl8******** group_claims_settings: group_distribution_type: NONE client_grant: client_id: ajeqqip130i1******** authorized_scopes: - openid status: SUSPENDED created_at: "2025-10-21T10:51:28.790866Z" updated_at: "2025-10-21T11:28:09.167252Z"
This will deactivate the OIDC application and switch its status to Suspended, and the users will no longer be able to use it for authentication in the relevant external app.
Activate the application
If you need to restore the ability of your organization’s users to authenticate in an external app using the OIDC single sign-on, activate the OIDC application in Identity Hub:
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps. - Next to the OIDC application you want to activate, click
and select Activate. - In the window that opens, confirm the operation.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
See the description of the CLI command for activating an OIDC app:
yc organization-manager idp application oauth application reactivate --help -
Run this command:
yc organization-manager idp application oauth application reactivate <app_ID>Result:
id: ek0o663g4rs2******** name: test-oidc-app organization_id: bpf2c65rqcl8******** group_claims_settings: group_distribution_type: NONE client_grant: client_id: ajeqqip130i1******** authorized_scopes: - openid status: ACTIVE created_at: "2025-10-21T10:51:28.790866Z" updated_at: "2025-10-21T11:28:09.167252Z"
This will activate the OIDC application, switch its status to Active, and enable the users added to the application to use it for authentication in the external app again.
Delete the application
To delete an OIDC application:
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps. - Next to the OIDC application you want to delete, click
and select Delete. - In the window that opens, confirm the operation.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
See the description of the CLI command for deleting an OIDC app:
yc organization-manager idp application oauth application delete --help -
Run this command:
yc organization-manager idp application oauth application delete <app_ID>
This will delete the OIDC application, and the users will no longer be able to use it for authentication in the external app.