OIDC provider with OAM as OAuth server - Helidon treats scopes
as string but is actually returned as Json array
#5365
Milestone
scopes
as string but is actually returned as Json array
#5365
Environment Details
Problem Description
We are using OIDC Provider of Helidon(3.0.1) with OAM (12.2.1.4) as OAuth server. OAM returns token that contain 'scopes' as array, where as Helidon is looking for string. We facing issues with Helidon's way of getting scopes from token in
JWTUtils.toScopes(JsonObject json)
, as it always considers value as string.Changing the implementation as below would resolve the issue:
The text was updated successfully, but these errors were encountered: