feat: Try to allow openid
All checks were successful
Build Docker / Build Docker (push) Successful in 2m55s

This commit is contained in:
Nathan Woodburn 2024-06-13 15:57:15 +10:00
parent fdc09029d7
commit bfbd986469
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -144,7 +144,7 @@ def revoke_token():
@bp.route('/api/me') @bp.route('/api/me')
@require_oauth('profile') @require_oauth(['profile', 'openid'])
def api_me(): def api_me():
user = current_token.user user = current_token.user
print(user.id, user.username) print(user.id, user.username)