Skip to content

Add missing backchannel logout initiators to model type.#794

Closed
dmarjoram wants to merge 1 commit intoauth0:masterfrom
dmarjoram:features/add-new-oidc-back-channel-logout-initiators
Closed

Add missing backchannel logout initiators to model type.#794
dmarjoram wants to merge 1 commit intoauth0:masterfrom
dmarjoram:features/add-new-oidc-back-channel-logout-initiators

Conversation

@dmarjoram
Copy link

Changes

If a client is configured with a certain backchannel logout initiators, any GetClient calls to the management API using the Auth0 SDK will fail with a serialisation exception.

e.g.

"Message": "Error converting value \"email-identifier-changed\" to type 'Auth0.ManagementApi.Models.LogoutInitiators'. 
Path 'oidc_logout.backchannel_logout_initiators.selected_initiators[2]', line 1, position 2385."

The following will cause failures on the latest Auth0 SDK version:

Value Description
session-revoked Request was initiated by session deletion.
account-deleted Request was initiated by an account deletion.
email-identifier-changed Request was initiated by an email identifier change.

References

The additions to the enumeration come from https://auth0.com/docs/authenticate/login/logout/back-channel-logout/oidc-back-channel-logout-initiators#selected-initiators-property so this PR ensures all initiators currently documented are supported by the SDK.

Testing

  • 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 or why not

Checklist

@dmarjoram dmarjoram requested a review from a team as a code owner March 19, 2025 14:32
@kailash-b
Copy link
Contributor

Hi @dmarjoram 👋

Thanks for taking time and contributing.
We will look into this and get back in about a week.

@kailash-b
Copy link
Contributor

@dmarjoram
Thank you for your time and effort, we have built on top of this PR and merged the changes in #796

@kailash-b kailash-b closed this Mar 28, 2025
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.

2 participants