]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 3/4] auth: db-oauth2: Add oauth2_audience setting, deprecate aud-as-scope...
authorAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 29 May 2026 07:31:50 +0000 (07:31 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitefa51dd66f150c0476cb34699a34d758e9761bb9
tree45bd88b666b90fb2bc22b016460e846cf5da0fb6
parente8721851fd79a39e93e0528f245448a76e7d255a
[PATCH 3/4] auth: db-oauth2: Add oauth2_audience setting, deprecate aud-as-scope fallback

Add a dedicated oauth2_audience setting checked against the token's aud
claim (RFC 7519 section 4.1.3) using the same tab-split AND-semantics as
oauth2_scope. Emit a deprecation warning when the existing aud fallback
in db_oauth2_token_in_scope() is triggered so operators know to migrate.

Gbp-Pq: Name 0003-auth-db-oauth2-Add-oauth2_audience-setting-deprecate.patch
src/auth/db-oauth2.c
src/auth/db-oauth2.h