Skip to content

Commit 64ea0b0

Browse files
committed
Adjusted the user name
1 parent ae67ae6 commit 64ea0b0

File tree

1 file changed

+1
-1
lines changed
  • mrmat_python_api_flask/apis/greeting/v3

1 file changed

+1
-1
lines changed

mrmat_python_api_flask/apis/greeting/v3/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
@bp.route('/', methods=['GET'])
3434
@oidc.accept_token(require_token=True)
3535
def get():
36-
return {'message': f'Hello {g.oidc_token_info["preferred_username"]}'}, 200
36+
return {'message': f'Hello {g.oidc_token_info["username"]}'}, 200

0 commit comments

Comments
 (0)