1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

Fix wrong user in OpenID response (#16736)

* Fixed usage of wrong user.

* Added tests.
This commit is contained in:
KN4CK3R
2021-08-19 18:11:30 +02:00
committed by GitHub
parent c9bca8c5e0
commit 4debb74eda
3 changed files with 101 additions and 10 deletions

View File

@@ -5,3 +5,19 @@
scope: "openid profile"
created_unix: 1546869730
updated_unix: 1546869730
- id: 2
user_id: 3
application_id: 1
counter: 1
scope: "openid"
created_unix: 1546869730
updated_unix: 1546869730
- id: 3
user_id: 5
application_id: 1
counter: 1
scope: "openid profile email"
created_unix: 1546869730
updated_unix: 1546869730