Openemr fix #5191 refresh token (#5200)
commit6efb5a8b80a9d8fea31115e3080662c0662857ff
authorStephen Nielson <stephen@nielson.org>
Wed, 20 Apr 2022 05:53:41 +0000 (20 01:53 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Apr 2022 05:53:41 +0000 (20 01:53 -0400)
tree99cb32f8c08d6e5157b2fc6285d6343377bec0f9
parent3f490a89d69eb3dfee6c333ece5609c764d48689
Openemr fix #5191 refresh token (#5200)

* Fixes #5191 refresh grant context scopes

Made it so the refresh_grant will provide patient context and other
SMART context variables if scopes are ommitted or if a subset of scopes
are sent.

* Fix scope permission messages.

Had a few resources that didn't have scope permission messages setup which this commit
fixes.

* Style fixes
src/Common/Auth/OpenIDConnect/Grant/CustomRefreshTokenGrant.php
src/Common/Auth/OpenIDConnect/IdTokenSMARTResponse.php
src/Common/Auth/OpenIDConnect/Repositories/ScopeRepository.php