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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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