summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gitsrht/service.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/gitsrht/service.py b/gitsrht/service.py
index c8a92e9..5c14029 100644
--- a/gitsrht/service.py
+++ b/gitsrht/service.py
@@ -1,6 +1,5 @@
from flask import Blueprint, request, url_for
from gitsrht.types import User, OAuthToken, SSHKey
-from scmsrht.oauth import delegated_scopes as scm_scopes
from srht.api import get_results
from srht.database import db
from srht.config import cfg, get_origin
@@ -21,7 +20,6 @@ class GitOAuthService(AbstractOAuthService):
required_scopes=["profile", "keys"] + ([
"{}/jobs:write".format(builds_client_id)
] if builds_client_id else []),
- delegated_scopes=scm_scopes,
token_class=OAuthToken, user_class=User)
def ensure_user_sshkey(self, user, meta_key):