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

Support backchannel logout metadata #3256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ digest.opt-level = 3
block-buffer.opt-level = 3
generic-array.opt-level = 3

[patch.crates-io]
# Waiting for https://github.com/SeaQL/sea-query/pull/810
sea-query = { git = "https://github.com/sandhose/sea-query", branch = "binder/relax-sqlx-dependency" }
sea-query-binder = { git = "https://github.com/sandhose/sea-query", branch = "binder/relax-sqlx-dependency" }
# [patch.crates-io]
# # Waiting for https://github.com/SeaQL/sea-query/pull/810
# sea-query = { git = "https://github.com/sandhose/sea-query", branch = "binder/relax-sqlx-dependency" }
# sea-query-binder = { git = "https://github.com/sandhose/sea-query", branch = "binder/relax-sqlx-dependency" }
11 changes: 11 additions & 0 deletions crates/oauth2-types/src/oidc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,17 @@ pub struct ProviderMetadata {
///
/// This is a Matrix extension introduced in [MSC2965](https://github.com/matrix-org/matrix-spec-proposals/pull/2965).
pub account_management_actions_supported: Option<Vec<AccountManagementAction>>,

/// Indicates whether the authorization server supports back-channel logout.
///
/// Defaults to `false`.
pub backchannel_logout_supported: Option<bool>,

/// Indicates whether the OP can pass a session ID claim in the logout token
/// to identify the RP session with the OP.
///
/// Defaults to `false`.
pub backchannel_logout_session_supported: Option<bool>,
}

impl ProviderMetadata {
Expand Down
Loading