From bfbd9864695c1a1e1bb3c48a05260051e5cc0632 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 13 Jun 2024 15:57:15 +1000 Subject: [PATCH] feat: Try to allow openid --- website/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/routes.py b/website/routes.py index f663c4e..60e6966 100644 --- a/website/routes.py +++ b/website/routes.py @@ -144,7 +144,7 @@ def revoke_token(): @bp.route('/api/me') -@require_oauth('profile') +@require_oauth(['profile', 'openid']) def api_me(): user = current_token.user print(user.id, user.username)