oauth updates (#4040)
commit5384f4e0fb041751da1fefbe93d402ec9478e9a7
authorBrady Miller <brady.g.miller@gmail.com>
Wed, 18 Nov 2020 02:52:30 +0000 (17 18:52 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 02:52:30 +0000 (17 18:52 -0800)
tree96f90fcd78ddd6f2c1c609fd0f13b369705d591c
parent46d9fc32302d1ef4b65f5cf808c5d35b0f35825d
oauth updates (#4040)

- added support so that the client secret is validated
- supported encryption of the client secret
- updated password grant
- removed need for user_roles
16 files changed:
_rest_config.php
apis/dispatch.php
library/globals.inc.php
oauth2/authorize.php
oauth2/provider/.well-known/discovery.php
sql/5_0_2-to-6_0_0_upgrade.sql
sql/database.sql
src/Common/Auth/OpenIDConnect/Entities/UserEntity.php
src/Common/Auth/OpenIDConnect/Grant/CustomPasswordGrant.php [new file with mode: 0644]
src/Common/Auth/OpenIDConnect/Repositories/AccessTokenRepository.php
src/Common/Auth/OpenIDConnect/Repositories/ClientRepository.php
src/Common/Auth/OpenIDConnect/Repositories/ScopeRepository.php
src/Common/Auth/OpenIDConnect/Repositories/UserRepository.php
src/Common/Auth/UuidUserAccount.php [new file with mode: 0644]
src/RestControllers/AuthorizationController.php
version.php