Skip to content

mgmt: Add async_approval_notification_channels property to client model#938

Merged
kailash-b merged 4 commits into
auth0:masterfrom
trivm963:features/add-async-approval-notification-channels
Mar 22, 2026
Merged

mgmt: Add async_approval_notification_channels property to client model#938
kailash-b merged 4 commits into
auth0:masterfrom
trivm963:features/add-async-approval-notification-channels

Conversation

@trivm963
Copy link
Copy Markdown
Contributor

@trivm963 trivm963 commented Mar 19, 2026

Changes

If a client is set up to use a CIBA (Client Initiated Backchannel Authentication) grant type, it is necessary to configure a notification channel for it. On the console it looks like this:

Screenshot 2026-03-20 at 10 28 41

As per the docs, Management API itself has async_approval_notification_channels as a body parameter for requests to create or update clients at the /v2/clients endpoint.

However the async_approval_notification_channels property is missing from the client model in the Auth0 SDK, so when there is an attempt to create a client with CIBA grant type it fails with the following error:

Auth0.Core.Exceptions.ErrorApiException: Application must have at least one channel configured in 'async_approval_notification_channels' when urn:openid:params:grant-type:ciba is enabled

This PR adds the necessary async_approval_notification_channels property to the client model.

Testing

An end-to-end test was carried out to check that the SDK change works and creates a client as intended. This involved creating via Management API an M2M client with Client Credentials and CIBA grant types, with a working Guardian Push notification channel.

There are not additional automated tests added because the change is limited to adding a property to an existing model class and similar model properties in the codebase don't have dedicated unit tests.

  • This change adds unit test coverage

  • This change adds integration test coverage

  • This change has been tested on the latest version of the platform/language

Checklist

@trivm963 trivm963 marked this pull request as ready for review March 20, 2026 10:32
@trivm963 trivm963 requested a review from a team as a code owner March 20, 2026 10:32
@kailash-b kailash-b merged commit 28a880c into auth0:master Mar 22, 2026
1 check passed
@kailash-b kailash-b changed the title Add async_approval_notification_channels property to client model mgmt: Add async_approval_notification_channels property to client model Mar 26, 2026
@kailash-b kailash-b mentioned this pull request Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants