aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/oauth2/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/oauth2/routes.py')
-rw-r--r--wqflask/wqflask/oauth2/routes.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/wqflask/wqflask/oauth2/routes.py b/wqflask/wqflask/oauth2/routes.py
index 4ab1f9c6..4ba94025 100644
--- a/wqflask/wqflask/oauth2/routes.py
+++ b/wqflask/wqflask/oauth2/routes.py
@@ -130,3 +130,13 @@ def user_profile():
return render_template(
"oauth2/view-user.html", user_details=user_details, roles=roles,
resources=resources)
+
+@oauth2.route("/request-add-to-group")
+@require_oauth2
+def request_add_to_group():
+ return "WOULD SEND MESSAGE TO HAVE YOU ADDED TO GROUP..."
+
+@oauth2.route("/create-group")
+@require_oauth2
+def create_group():
+ return "WOULD CREATE A NEW GROUP..."