Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing backchannel logout initiators to model type. #794

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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