From: Markus Valentin Date: Mon, 24 Jun 2019 14:06:19 +0000 (+0200) Subject: auth: oauth2: set scope to passdb_oauth2_settings X-Git-Tag: 2.3.8~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fafc5e936bc6b020f1ec0fa69520ca2eedfabf2c;p=thirdparty%2Fdovecot%2Fcore.git auth: oauth2: set scope to passdb_oauth2_settings --- diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index 59609db865..bec1daca05 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -243,6 +243,7 @@ struct db_oauth2 *db_oauth2_init(const char *config_path) db->oauth2_set.timeout_msecs = db->set.timeout_msecs; db->oauth2_set.send_auth_headers = db->set.send_auth_headers; db->oauth2_set.use_grant_password = db->set.use_grant_password; + db->oauth2_set.scope = db->set.scope; if (*db->set.introspection_mode == '\0' || strcmp(db->set.introspection_mode, "auth") == 0) {