]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: oauth2: set scope to passdb_oauth2_settings
authorMarkus Valentin <markus.valentin@open-xchange.com>
Mon, 24 Jun 2019 14:06:19 +0000 (16:06 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:01:52 +0000 (10:01 +0300)
src/auth/db-oauth2.c

index 59609db8654513d28e5337741fb4d40556a27b5d..bec1daca059193e2e453dacbc1a107f307710874 100644 (file)
@@ -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) {