about summary refs log tree commit diff
path: root/gn2/wqflask/oauth2
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r--gn2/wqflask/oauth2/client.py6
-rw-r--r--gn2/wqflask/oauth2/resources.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/gn2/wqflask/oauth2/client.py b/gn2/wqflask/oauth2/client.py
index 4e2c67f2..e9f747f4 100644
--- a/gn2/wqflask/oauth2/client.py
+++ b/gn2/wqflask/oauth2/client.py
@@ -1,12 +1,10 @@
 """Common oauth2 client utilities."""
-import uuid
 import json
 import requests
-from typing import Any, Optional
+from typing import Optional
 from urllib.parse import urljoin
 
-from flask import jsonify, current_app as app
-from pymonad.maybe import Just, Maybe, Nothing
+from flask import current_app as app
 from pymonad.either import Left, Right, Either
 from authlib.integrations.requests_client import OAuth2Session
 
diff --git a/gn2/wqflask/oauth2/resources.py b/gn2/wqflask/oauth2/resources.py
index b8ca21fb..32efbd2a 100644
--- a/gn2/wqflask/oauth2/resources.py
+++ b/gn2/wqflask/oauth2/resources.py
@@ -1,7 +1,7 @@
 import uuid
 
 from flask import (
-    flash, request, jsonify, url_for, redirect, Response, Blueprint)
+    flash, request, url_for, redirect, Response, Blueprint)
 
 from . import client
 from .ui import render_ui