Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keystonev2: populate user.name into UserInformation (#440)
The behavior between keystonev2 and keystonev3 is different today. In keystonev3 implementation, the username comes from [user.name][1], but keystonev2 just uses the incoming `username_or_email`. Also, by reading `user.name`, we can use keystone APIKeys to do authentication which is necessary due to potential 2FA requirements. [1]: https://github.com/quay/quay/blob/f4179e5e719ebc8e795064b8703da8a29d877b3b/data/users/keystone.py#L316
- Loading branch information