-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
engine: add scope 'openid' for compatibility with new versions of the…
… keycloak This is linked with this change for V19 and higher: https://www.keycloak.org/docs/latest/upgrading/index.html#userinfo-endpoint-changes Now for request user-info endpoint we need request token with 'openid' scope (this is required scope by standard) Signed-off-by: Melnichuk Stas <melnichuk.stas@gmail.com>
- Loading branch information
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just a small note on the syntax
if (!scope.contains(OPENID_SCOPE)) {
Is preferred I think? :)